From a75ac5a08f80ff97810f9414e6c63d82b81ffa91 Mon Sep 17 00:00:00 2001 From: green Date: Thu, 20 Jul 2000 08:00:02 +0000 Subject: We shouldn't use cp to save the old ld-elf.so.1. Use the sanctioned tool ${INSTALL} with -C -p instead. --- libexec/rtld-elf/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 -- cgit v1.1