One More Time: Make _mvcpp work on an UPDATE install (without bombing).

This commit is contained in:
tv 2001-11-13 15:32:15 +00:00
parent 958e3755af
commit be1b573f6d

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.11 2001/11/13 15:30:06 tv Exp $
# $NetBSD: Makefile,v 1.12 2001/11/13 15:32:15 tv Exp $
.include <bsd.own.mk>
@ -24,5 +24,5 @@ INSTALL_TARGET+=install-gdb
afterinstall: _mvcpp
_mvcpp:
[ -f ${TOOLDIR}/bin/cpp ] && \
[ ! -f ${TOOLDIR}/bin/cpp ] || \
mv -f ${TOOLDIR}/bin/cpp ${TOOLDIR}/bin/${MACHINE_GNU_PLATFORM}-cpp