summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormillert <millert@openbsd.org>2018-08-16 17:45:28 +0000
committermillert <millert@openbsd.org>2018-08-16 17:45:28 +0000
commit5ec93984946a8c07d741d0accf10bf87d03c98a0 (patch)
treed806fe7dc4b54e7bdb6a809d364cfc9ba12e49b6
parentThe zoneinfo directories can be mode 755 just like everything else. (diff)
downloadwireguard-openbsd-5ec93984946a8c07d741d0accf10bf87d03c98a0.tar.xz
wireguard-openbsd-5ec93984946a8c07d741d0accf10bf87d03c98a0.zip
When installing the link to rcs2log, set the owner on the link itself
and not the file it points to. OK deraadt@ tb@
-rw-r--r--gnu/usr.bin/cvs/contrib/Makefile.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/gnu/usr.bin/cvs/contrib/Makefile.in b/gnu/usr.bin/cvs/contrib/Makefile.in
index a24816eba1b..c2d2aee8f07 100644
--- a/gnu/usr.bin/cvs/contrib/Makefile.in
+++ b/gnu/usr.bin/cvs/contrib/Makefile.in
@@ -364,7 +364,7 @@ install-data-local:
echo " && cd $(DESTDIR)$(bindir) && $(LN_S) $(contribscriptdir)/`echo $$p|sed '$(transform)'` ."; \
(test ! -e $(DESTDIR)$(bindir)/`echo $$p|sed '$(transform)'` \
&& cd $(DESTDIR)$(bindir) && $(LN_S) $(contribscriptdir)/`echo $$p|sed '$(transform)'` . \
- && chown root:bin `echo $$p|sed '$(transform)'`) \
+ && chown -h root:bin `echo $$p|sed '$(transform)'`) \
|| (echo "Link creation failed" && if test -f $$p; then \
echo " $(INSTALL_SCRIPT) $$p $(DESTDIR)$(bindir)/`echo $$p|sed '$(transform)'`"; \
$(INSTALL_SCRIPT) $$p $(DESTDIR)$(bindir)/`echo $$p|sed '$(transform)'`; \