summaryrefslogtreecommitdiffstats
path: root/libexec/rtld-elf/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'libexec/rtld-elf/Makefile')
-rw-r--r--libexec/rtld-elf/Makefile3
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
OpenPOWER on IntegriCloud