From 5ec93984946a8c07d741d0accf10bf87d03c98a0 Mon Sep 17 00:00:00 2001 From: millert Date: Thu, 16 Aug 2018 17:45:28 +0000 Subject: [PATCH] When installing the link to rcs2log, set the owner on the link itself and not the file it points to. OK deraadt@ tb@ --- gnu/usr.bin/cvs/contrib/Makefile.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)'`; \ -- 2.20.1