pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/bootstrap Why all the complexity? Just remove $wrkdir...
details: https://anonhg.NetBSD.org/pkgsrc/rev/85c6aab8b263
branches: trunk
changeset: 481728:85c6aab8b263
user: tv <tv%pkgsrc.org@localhost>
date: Mon Oct 11 13:50:17 2004 +0000
description:
Why all the complexity? Just remove $wrkdir. (The previous incarnation left
a still-littered "work" directory; rather, this should nuke the whole thing.)
diffstat:
bootstrap/cleanup | 18 +++---------------
1 files changed, 3 insertions(+), 15 deletions(-)
diffs (26 lines):
diff -r 8d9cb8906363 -r 85c6aab8b263 bootstrap/cleanup
--- a/bootstrap/cleanup Mon Oct 11 13:40:38 2004 +0000
+++ b/bootstrap/cleanup Mon Oct 11 13:50:17 2004 +0000
@@ -1,19 +1,7 @@
#! /bin/sh
-
-# $NetBSD: cleanup,v 1.6 2004/05/25 02:25:21 jschauma Exp $
-#
+# $NetBSD: cleanup,v 1.7 2004/10/11 13:50:17 tv Exp $
wrkdir=${1:-work}
-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; \
- [ -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
- (rm -rf $wrkdir/$d)
-done
-
-rm -f Makefile.inc mk.conf.example $wrkdir/digest/.size */config.cache
+rm -f -r $wrkdir
+rm -f Makefile.inc mk.conf.example */config.cache
Home |
Main Index |
Thread Index |
Old Index