Source-Changes-HG archive

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

[src/trunk]: src/tools/toolchain Make _mvcpp work on an UPDATE reinstall.



details:   https://anonhg.NetBSD.org/src/rev/f462c38541ef
branches:  trunk
changeset: 517496:f462c38541ef
user:      tv <tv%NetBSD.org@localhost>
date:      Tue Nov 13 15:30:06 2001 +0000

description:
Make _mvcpp work on an UPDATE reinstall.

diffstat:

 tools/toolchain/Makefile |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (16 lines):

diff -r 9281db04edac -r f462c38541ef tools/toolchain/Makefile
--- a/tools/toolchain/Makefile  Tue Nov 13 15:20:34 2001 +0000
+++ b/tools/toolchain/Makefile  Tue Nov 13 15:30:06 2001 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.10 2001/11/13 14:49:00 tv Exp $
+#      $NetBSD: Makefile,v 1.11 2001/11/13 15:30:06 tv Exp $
 
 .include <bsd.own.mk>
 
@@ -24,4 +24,5 @@
 
 afterinstall: _mvcpp
 _mvcpp:
-       mv -f ${TOOLDIR}/bin/cpp ${TOOLDIR}/bin/${MACHINE_GNU_PLATFORM}-cpp
+       [ -f ${TOOLDIR}/bin/cpp ] && \
+               mv -f ${TOOLDIR}/bin/cpp ${TOOLDIR}/bin/${MACHINE_GNU_PLATFORM}-cpp



Home | Main Index | Thread Index | Old Index