pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/bootstrap don't try to cd into work/, just remove work...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/583b6c537410
branches:  trunk
changeset: 471112:583b6c537410
user:      grant <grant%pkgsrc.org@localhost>
date:      Thu Mar 18 14:19:22 2004 +0000

description:
don't try to cd into work/, just remove work/dir.

diffstat:

 bootstrap/cleanup |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (20 lines):

diff -r a6d16f303962 -r 583b6c537410 bootstrap/cleanup
--- a/bootstrap/cleanup Thu Mar 18 11:23:36 2004 +0000
+++ b/bootstrap/cleanup Thu Mar 18 14:19:22 2004 +0000
@@ -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 @@
        [ -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



Home | Main Index | Thread Index | Old Index