summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgrant <grant@pkgsrc.org>2004-03-18 14:19:22 +0000
committergrant <grant@pkgsrc.org>2004-03-18 14:19:22 +0000
commitccee928893f31b1a460a08d6bcddbcd55e1cc236 (patch)
treee940cecff3ab639d90cce4d90eefabdedd555091
parent204d3d23999202ced20651534d6345cde859feed (diff)
downloadpkgsrc-ccee928893f31b1a460a08d6bcddbcd55e1cc236.tar.gz
don't try to cd into work/, just remove work/dir.
-rwxr-xr-xbootstrap/cleanup4
1 files changed, 2 insertions, 2 deletions
diff --git a/bootstrap/cleanup b/bootstrap/cleanup
index 9819b123fe1..4fc7ded9148 100755
--- a/bootstrap/cleanup
+++ b/bootstrap/cleanup
@@ -1,6 +1,6 @@
#! /bin/sh
-# $NetBSD: cleanup,v 1.3 2004/03/15 14:13:13 grant Exp $
+# $NetBSD: cleanup,v 1.4 2004/03/18 14:19:22 grant Exp $
#
wrkdir=work
@@ -13,7 +13,7 @@ fi
[ -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
- (cd $wrkdir && rm -rf $d)
+ (rm -rf $wrkdir/$d)
done
rm -f Makefile.inc mk.conf.example $wrkdir/digest/.size */config.cache