summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2008-01-11 11:36:37 -0500
committerBill Nottingham <notting@redhat.com>2008-01-11 11:36:37 -0500
commited06d6dc358016062f594b956d28e339201f4ccd (patch)
tree066d0cc469c70f346008ff501760c4371904ce9e
parentb7a577b170be8f5398063bd2a7b6cb02c39b7322 (diff)
downloadreleng-ed06d6dc358016062f594b956d28e339201f4ccd.tar.gz
releng-ed06d6dc358016062f594b956d28e339201f4ccd.tar.xz
releng-ed06d6dc358016062f594b956d28e339201f4ccd.zip
parallelize treediff/spam-o-matic. Would paralellize with pungify,
but... shell.
-rwxr-xr-xscripts/buildrawhide5
1 files changed, 3 insertions, 2 deletions
diff --git a/scripts/buildrawhide b/scripts/buildrawhide
index 791912f..b6483d5 100755
--- a/scripts/buildrawhide
+++ b/scripts/buildrawhide
@@ -41,9 +41,10 @@ for dir in $OLD/development/* ; do
fi
done
mash -o /mnt/koji/mash/rawhide-$DATE --compsfile /tmp/mashbuild.$DATE/comps.xml development > /mnt/koji/mash/rawhide-$DATE/logs/mash.log 2>&1 || exit 1
-[ -n "\$OLD" ] && /usr/share/mash/treediff /mnt/koji/mash/rawhide-$DATE/development \$OLD/development > /mnt/koji/mash/rawhide-$DATE/logs/treediff
-/usr/share/mash/spam-o-matic /mnt/koji/mash/rawhide-$DATE/development >/mnt/koji/mash/rawhide-$DATE/logs/depcheck
+[ -n "\$OLD" ] && /usr/share/mash/treediff /mnt/koji/mash/rawhide-$DATE/development \$OLD/development > /mnt/koji/mash/rawhide-$DATE/logs/treediff &
+/usr/share/mash/spam-o-matic /mnt/koji/mash/rawhide-$DATE/development >/mnt/koji/mash/rawhide-$DATE/logs/depcheck &
rm -rf /tmp/mashbuild.$DATE
+wait
exit 0
EOF
rc=$?