Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 02 Jan 2015 14:07:05 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 196435] Prevent @sample keyword from removing user symlinks
Message-ID:  <bug-196435-13-xFCiNyTIVz@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-196435-13@https.bugs.freebsd.org/bugzilla/>
References:  <bug-196435-13@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=196435

--- Comment #1 from Mathieu Arnold <mat@FreeBSD.org> ---
Then don't use -e, use -f "${target_file}" -o -L "${target_file}", I'd rather
have an error when it's a directory, or a device, or something strange.

Also, for cmp drop the -h, we want symlinks to be followed, otherwise, it'll
compare the content of the file with the path of the sample file, which, in
most cases, won't be the same ;-)

-- 
You are receiving this mail because:
You are the assignee for the bug.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-196435-13-xFCiNyTIVz>