[tbb-commits] [tor-browser-bundle/master] Bug 17414: Move logfiles to separate dir.

gk at torproject.org gk at torproject.org
Fri Oct 23 07:31:08 UTC 2015


commit df6acda1f483779cb9b6437ac067670212bca3fd
Author: Linus Nordberg <linus at torproject.org>
Date:   Mon Oct 19 12:08:19 2015 +0200

    Bug 17414: Move logfiles to separate dir.
---
 tools/continuous-builds/build-tbb.sh |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tools/continuous-builds/build-tbb.sh b/tools/continuous-builds/build-tbb.sh
index 434d61b..f1be4ef 100755
--- a/tools/continuous-builds/build-tbb.sh
+++ b/tools/continuous-builds/build-tbb.sh
@@ -29,7 +29,7 @@ N=$6; [ -z "$N" ] && N=16
 [ -z "$MAILX" ] && MAILX=""
 
 # Name of log file.
-logfile=$(date -u +%s).log
+logfile=build-logs/$(date -u +%s).log
 
 # LOGRECIPIENTS is a space separated list of email addresses or an
 # empty string.
@@ -50,7 +50,7 @@ while [ $status != done ]; do
   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 $MAKE_TARGET > build-$(date -u +%s).log && status=done
+  make $MAKE_TARGET > build-logs/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





More information about the tbb-commits mailing list