summaryrefslogtreecommitdiff
path: root/bootstrap/cleanup
diff options
context:
space:
mode:
authorjschauma <jschauma>2004-05-25 02:25:21 +0000
committerjschauma <jschauma>2004-05-25 02:25:21 +0000
commitdb85c75228d2109bd353ef8eb59ac2f40ed21e0c (patch)
tree55d9b36d4daf443feb340dec23f10e20f9d7d3c2 /bootstrap/cleanup
parent9e3bfde65beaa2af7beafbc6d1b6fbc16b6371d5 (diff)
downloadpkgsrc-db85c75228d2109bd353ef8eb59ac2f40ed21e0c.tar.gz
only attempt to remove bmake files if 'cd bmake' was successful.
Diffstat (limited to 'bootstrap/cleanup')
-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