summaryrefslogtreecommitdiff
path: root/bootstrap
diff options
context:
space:
mode:
authorjschauma <jschauma>2004-05-25 02:25:21 +0000
committerjschauma <jschauma>2004-05-25 02:25:21 +0000
commitd73e440333cec0311a27f028b035fb4067837f7f (patch)
tree55d9b36d4daf443feb340dec23f10e20f9d7d3c2 /bootstrap
parentab82e85ffcc6f942f7f22e53bcbc98f5c51efb69 (diff)
downloadpkgsrc-d73e440333cec0311a27f028b035fb4067837f7f.tar.gz
only attempt to remove bmake files if 'cd bmake' was successful.
Diffstat (limited to 'bootstrap')
-rwxr-xr-xbootstrap/cleanup4
1 files changed, 2 insertions, 2 deletions
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