Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 02 Jan 2015 11:18:34 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 196432] Allow @sample keyword reference a symlink
Message-ID:  <bug-196432-13-AluOadlLpM@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-196432-13@https.bugs.freebsd.org/bugzilla/>
References:  <bug-196432-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=196432

--- Comment #7 from Mathieu Arnold <mat@FreeBSD.org> ---
(In reply to Antoine Brodin from comment #5)
> I understand replacing -f with -e,  and replacing cmp -s with cmp -h -s, 
> but I don't understand the rest of the patch

cp -R is a hack it uses the fact that when doing a cp -R, symlinks are copied
instead of dereferenced.
chmod -h is so that the chmod is applied to the the link and not the target.

I still don't like it, I find it way better to install the target of the
symlink so that it can be modified than copying the symlink which, if modified,
will be overwritten on next upgrade.

-- 
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-196432-13-AluOadlLpM>