[tor-commits] [tor-browser-bundle/master] Fix bug making target string grow.
gk at torproject.org
gk at torproject.org
Mon Jun 2 07:00:19 UTC 2014
commit cd1abfcb87caafdb473de1c24a73c25d84a75c9a
Author: Linus Nordberg <linus at nordberg.se>
Date: Sat May 31 22:14:41 2014 +0200
Fix bug making target string grow.
Fixes #12166.
---
tools/continuous-builds/build-tbb.sh | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/tools/continuous-builds/build-tbb.sh b/tools/continuous-builds/build-tbb.sh
index 069f7bf..fa51d4a 100755
--- a/tools/continuous-builds/build-tbb.sh
+++ b/tools/continuous-builds/build-tbb.sh
@@ -27,14 +27,15 @@ logrecipients="gk at torproject.org linus at torproject.org"
cd $BUILDDIR || exit 1
status=init
n=0
+MAKE_TARGET=$TARGET
while [ $status != done ]; do
n=$(expr $n + 1)
printf "%s: Starting build number %d. target=$TARGET.\n" $0 $n | tee -a $logfile
date | tee -a $logfile
killall qemu-system-i386 qemu-system-x86_64
- make $TARGET > build-$(date -u +%s).log && status=done
- printf "%s: Tried building $TARGET %d times. Status: %s.\n" $0 $n $status | tee -a $logfile
- TARGET=build-$TARGET
+ make $MAKE_TARGET > build-$(date -u +%s).log && status=done
+ printf "%s: Tried building $MAKE_TARGET %d times. Status: %s.\n" $0 $n $status | tee -a $logfile
+ MAKE_TARGET=build-$TARGET
[ $n -ge $N ] && break
done
More information about the tor-commits
mailing list