From dca008de5a3a917f7282dc73fed169b4646f024f Mon Sep 17 00:00:00 2001 From: jschauma Date: Tue, 25 May 2004 02:25:21 +0000 Subject: only attempt to remove bmake files if 'cd bmake' was successful. --- bootstrap/cleanup | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bootstrap') diff --git a/bootstrap/cleanup b/bootstrap/cleanup index 8ee9cc04282..ffa652acd40 100755 --- a/bootstrap/cleanup +++ b/bootstrap/cleanup @@ -1,6 +1,6 @@ #! /bin/sh -# $NetBSD: cleanup,v 1.5 2004/03/31 23:46:14 jschauma Exp $ +# $NetBSD: cleanup,v 1.6 2004/05/25 02:25:21 jschauma Exp $ # wrkdir=${1:-work} @@ -9,7 +9,7 @@ if [ -d /usr/ccs/bin -a -x /usr/ccs/bin/make ]; then PATH=/usr/ccs/bin:$PATH; export PATH fi -(cd $wrkdir/bmake; rm -f *.o lst.lib/*.o bmake bmake.boot Makefile confdefs.h config.h config.log config.status config.cache makefile.boot lst.lib/makefile.boot; \ +(cd $wrkdir/bmake && rm -f *.o lst.lib/*.o bmake bmake.boot Makefile confdefs.h config.h config.log config.status config.cache makefile.boot lst.lib/makefile.boot; \ [ -f mk/bsd.man.mk.orig ] && mv -f mk/bsd.man.mk.orig mk/bsd.man.mk; \ [ -f mk/bsd.lib.mk.orig ] && mv -f mk/bsd.lib.mk.orig mk/bsd.lib.mk; ) for d in libnbcompat digest tnftp pax pkg_install mtree sed; do -- cgit v1.2.3