diff options
author | schweikh <schweikh@FreeBSD.org> | 2004-11-14 12:47:20 +0000 |
---|---|---|
committer | schweikh <schweikh@FreeBSD.org> | 2004-11-14 12:47:20 +0000 |
commit | d2fd075432aa84aea994ebaac3d48179c4a7df0d (patch) | |
tree | e1922bb115b59af0deb9b92897d89457ce2a489d /libexec | |
parent | 39a0a1611e959bdd12cc34509e29015a39541f62 (diff) | |
download | FreeBSD-src-d2fd075432aa84aea994ebaac3d48179c4a7df0d.zip FreeBSD-src-d2fd075432aa84aea994ebaac3d48179c4a7df0d.tar.gz |
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
Diffstat (limited to 'libexec')
-rw-r--r-- | libexec/rtld-elf/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libexec/rtld-elf/Makefile b/libexec/rtld-elf/Makefile index e5235a9..1b2910a 100644 --- a/libexec/rtld-elf/Makefile +++ b/libexec/rtld-elf/Makefile @@ -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} |