summaryrefslogtreecommitdiff
path: root/bootstrap/cleanup
diff options
context:
space:
mode:
authorgrant <grant>2004-03-15 14:13:13 +0000
committergrant <grant>2004-03-15 14:13:13 +0000
commit0b2ea7ec53fc1d757fad3f5b5040eb57597a2a81 (patch)
treecaed54582d25aaa522f4d343a3e079dd857c23ec /bootstrap/cleanup
parent84d9c43ab76a73437313b4a0304f5e920522d0fe (diff)
downloadpkgsrc-0b2ea7ec53fc1d757fad3f5b5040eb57597a2a81.tar.gz
since we now copy the sources to work/, just remove the directories in
work/ entirely.
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 c9f9ba9ed47..9819b123fe1 100755
--- a/bootstrap/cleanup
+++ b/bootstrap/cleanup
@@ -1,6 +1,6 @@
#! /bin/sh
-# $NetBSD: cleanup,v 1.2 2004/03/11 13:10:45 grant Exp $
+# $NetBSD: cleanup,v 1.3 2004/03/15 14:13:13 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/$d; [ -f Makefile ] && make distclean)
+ (cd $wrkdir && rm -rf $d)
done
rm -f Makefile.inc mk.conf.example $wrkdir/digest/.size */config.cache