[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [tor-browser-bundle/master] Fix bug making target string grow.
commit cd1abfcb87caafdb473de1c24a73c25d84a75c9a
Author: Linus Nordberg <linus@xxxxxxxxxxx>
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@xxxxxxxxxxxxxx linus@xxxxxxxxxxxxxx"
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
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits