1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-03 09:00:21 +00:00

We shouldn't use cp to save the old ld-elf.so.1. Use the sanctioned tool

${INSTALL} with -C -p instead.
This commit is contained in:
Brian Feldman 2000-07-20 08:00:02 +00:00
parent a526cb9e31
commit 119fc1a3ce
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=63615

View File

@ -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