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:
parent
a526cb9e31
commit
119fc1a3ce
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user