Avoid an (ignored) error by invoking chflags on the link target, not the

symlink.

PR:		kern/73016
Submitted by:	John E. Hein <jhein@timing.com>
MFC after:	1 week
This commit is contained in:
Jens Schweikhardt 2004-11-14 12:47:20 +00:00
parent 3e15c66f2a
commit 6ccc491b4b
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=137688

View File

@ -48,7 +48,7 @@ dyn_hack.so:
# Since moving rtld-elf to /libexec, we need to create a symlink.
# Fixup the existing binary that's there so we can symlink over it.
beforeinstall:
-chflags noschg ${DESTDIR}/usr/libexec/${PROG}
-chflags noschg ${DESTDIR}/${BINDIR}/${PROG}
.PATH: ${.CURDIR}/${MACHINE_ARCH}