From 119fc1a3ce01acdd2f8e818bf754db9c8f98c58d Mon Sep 17 00:00:00 2001 From: Brian Feldman Date: Thu, 20 Jul 2000 08:00:02 +0000 Subject: [PATCH] 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 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