diff options
author | green <green@FreeBSD.org> | 2000-07-20 08:00:02 +0000 |
---|---|---|
committer | green <green@FreeBSD.org> | 2000-07-20 08:00:02 +0000 |
commit | a75ac5a08f80ff97810f9414e6c63d82b81ffa91 (patch) | |
tree | e1de3e036aee6b3a09d06d0127f3cff6244ab239 /libexec | |
parent | c95a6d8116bfdde55ee40d702e426d40ad712894 (diff) | |
download | FreeBSD-src-a75ac5a08f80ff97810f9414e6c63d82b81ffa91.zip FreeBSD-src-a75ac5a08f80ff97810f9414e6c63d82b81ffa91.tar.gz |
We shouldn't use cp to save the old ld-elf.so.1. Use the sanctioned tool
${INSTALL} with -C -p instead.
Diffstat (limited to 'libexec')
-rw-r--r-- | libexec/rtld-elf/Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libexec/rtld-elf/Makefile b/libexec/rtld-elf/Makefile index e3750cc..00fcdcd 100644 --- a/libexec/rtld-elf/Makefile +++ b/libexec/rtld-elf/Makefile @@ -52,5 +52,6 @@ beforeinstall: .if exists(${DESTDIR}${BINDIR}/${PROG}.old) -chflags noschg ${DESTDIR}${BINDIR}/${PROG}.old .endif - cp -p ${DESTDIR}${BINDIR}/${PROG} ${DESTDIR}${BINDIR}/${PROG}.old + ${INSTALL} -C -p ${DESTDIR}${BINDIR}/${PROG} \ + ${DESTDIR}${BINDIR}/${PROG}.old .endif |