summaryrefslogtreecommitdiff
path: root/bootstrap/cleanup
diff options
context:
space:
mode:
authorgrant <grant@pkgsrc.org>2004-03-15 14:13:13 +0000
committergrant <grant@pkgsrc.org>2004-03-15 14:13:13 +0000
commitc6e3da56e3ea75fcab90979b50df4b5eaeba2b26 (patch)
treecaed54582d25aaa522f4d343a3e079dd857c23ec /bootstrap/cleanup
parent49238101a2b00c5e7d40729171e33374be8fce9e (diff)
downloadpkgsrc-c6e3da56e3ea75fcab90979b50df4b5eaeba2b26.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