changeset 774:0d83b2530f6d

Remove triage directories up front, so "hg update" doesn't take 15 minutes.
author Rob Landley <rob@landley.net>
date Wed, 01 Jul 2009 18:53:53 -0500
parents 2b9e8af90917
children f43389fc2452
files sources/toys/nightly.sh
diffstat 1 files changed, 4 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/sources/toys/nightly.sh	Wed Jul 01 18:53:00 2009 -0500
+++ b/sources/toys/nightly.sh	Wed Jul 01 18:53:53 2009 -0500
@@ -6,10 +6,14 @@
 TOP="$(pwd)"
 SNAPSHOT_DATE=$(date +"%Y-%m-%d")
 
+rm -rf triage.* build &
+
 # Update the scripts, but revert repository back to last release for the
 # first few builds.
 
 hg pull
+wait
+
 [ -z "$FWL_STABLE" ] &&
   FWL_STABLE="$(hg tags | grep -v tip | head -n 1 | awk '{print $1}')"
 hg update "$FWL_STABLE"
@@ -39,7 +43,6 @@
   # version of everything else (including build scripts).
 
   cd "$TOP"
-  rm -rf triage.$PACKAGE
   FORK=1 CROSS_COMPILERS_EH=i686 NATIVE_COMPILERS_EH=1 nice -n 20 ./buildall.sh
 
   ./smoketest-all.sh --logs > build/status.txt