mirror of
https://github.com/opnsense/src.git
synced 2026-06-15 11:39:33 -04: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:
parent
a526cb9e31
commit
119fc1a3ce
1 changed files with 2 additions and 1 deletions
|
|
@ -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 a new issue