aboutsummaryrefslogtreecommitdiff
path: root/libexec/rtld-elf
diff options
context:
space:
mode:
authorDavid E. O'Brien <obrien@FreeBSD.org>2000-07-20 11:16:05 +0000
committerDavid E. O'Brien <obrien@FreeBSD.org>2000-07-20 11:16:05 +0000
commit212a5eed32d8d3795a4410f29213eddfcda9a4cf (patch)
treed1ee3919656de8b0fad19b6b8574c85067c2c313 /libexec/rtld-elf
parent6dd6726e00b420d8eb99b7e898e383c88f522772 (diff)
MFC: rev 1.13 (use install(1) rather than cp)
Notes
svn path=/stable/4/; revision=63640
Diffstat (limited to 'libexec/rtld-elf')
-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 e3750cc7dfdd..00fcdcd228eb 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