Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/pmax/stand/boot use ${INSTALL_FILE} instead of "cp -p"



details:   https://anonhg.NetBSD.org/src/rev/b2b9e1b9597c
branches:  trunk
changeset: 521457:b2b9e1b9597c
user:      lukem <lukem%NetBSD.org@localhost>
date:      Thu Jan 31 04:23:15 2002 +0000

description:
use ${INSTALL_FILE} instead of "cp -p"

diffstat:

 sys/arch/pmax/stand/boot/Makefile |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 15013937a1f2 -r b2b9e1b9597c sys/arch/pmax/stand/boot/Makefile
--- a/sys/arch/pmax/stand/boot/Makefile Thu Jan 31 02:52:51 2002 +0000
+++ b/sys/arch/pmax/stand/boot/Makefile Thu Jan 31 04:23:15 2002 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.6 1999/11/27 23:57:42 simonb Exp $
+#      $NetBSD: Makefile,v 1.7 2002/01/31 04:23:15 lukem Exp $
 #      @(#)Makefile    8.3 (Berkeley) 2/16/94
 
 SECONDARY_PROG=        boot.pmax
@@ -11,6 +11,7 @@
 
 # Copy bootpmax to / as well.
 afterinstall:
-       cp -p ${DESTDIR}${BINDIR}/${PROG} ${DESTDIR}/
+       ${INSTALL_FILE} -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \
+           ${STRIPFLAG} ${DESTDIR}${BINDIR}/${PROG} ${DESTDIR}/${PROG}
 
 .include "../Makefile.booters"



Home | Main Index | Thread Index | Old Index