pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/mk/bulk Some shells can cache * lookups, so do all the...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/945eb29f9460
branches:  trunk
changeset: 487241:945eb29f9460
user:      tv <tv%pkgsrc.org@localhost>
date:      Tue Jan 11 18:33:16 2005 +0000

description:
Some shells can cache * lookups, so do all the rm -f's of */*/<something>
on one line.  Add a message prior to doing the leftover log cleanup, as
it will take a while if pkgsrc is on nfs.

diffstat:

 mk/bulk/pre-build |  9 ++++-----
 1 files changed, 4 insertions(+), 5 deletions(-)

diffs (24 lines):

diff -r 7fb6ba4b96cd -r 945eb29f9460 mk/bulk/pre-build
--- a/mk/bulk/pre-build Tue Jan 11 18:11:46 2005 +0000
+++ b/mk/bulk/pre-build Tue Jan 11 18:33:16 2005 +0000
@@ -1,5 +1,5 @@
 #!/bin/sh
-# $NetBSD: pre-build,v 1.40 2004/11/16 18:34:12 jlam Exp $
+# $NetBSD: pre-build,v 1.41 2005/01/11 18:33:16 tv Exp $
 #
 # Clean up system to be ready for bulk pkg build
 #
@@ -135,10 +135,9 @@
 
 # Clean up state files
 cd ${USR_PKGSRC}
-rm -f $BROKENF */*/$BROKENF
-rm -f $BRKWRKLOG */*/$BRKWRKLOG
-rm -f $BLDLOG */*/$BLDLOG
-rm -f $STARTFILE
+echo Cleaning up leftover state files from previous runs
+rm -f */*/$BROKENF */*/$BRKWRKLOG */*/$BLDLOG
+rm -f $BROKENF $BRKWRKLOG $BLDLOG $STARTFILE
 
 
 



Home | Main Index | Thread Index | Old Index