[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [tor-browser-bundle/master] Use UTC.



commit 7c089d6673d28e5c3aa58ce541ed4837325d1705
Author: Linus Nordberg <linus@xxxxxxxxx>
Date:   Fri Feb 5 08:49:30 2016 +0100

    Use UTC.
---
 tools/continuous-builds/build-tbb.sh | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/tools/continuous-builds/build-tbb.sh b/tools/continuous-builds/build-tbb.sh
index 6c8d248..f0ff132 100755
--- a/tools/continuous-builds/build-tbb.sh
+++ b/tools/continuous-builds/build-tbb.sh
@@ -48,7 +48,7 @@ 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
+  date -u | tee -a $logfile
   killall qemu-system-i386 qemu-system-x86_64
   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
@@ -57,7 +57,7 @@ while [ $status != done ]; do
 done
 
 if [ $status = done ]; then
-  NEWDESTDIR=$DESTDIR-$(date +%F)
+  NEWDESTDIR=$DESTDIR-$(date -u +%F)
   echo "$0: renaming $DESTDIR -> $NEWDESTDIR" | tee -a $logfile
   mv $DESTDIR $NEWDESTDIR
   cd $NEWDESTDIR || exit 3
@@ -72,7 +72,7 @@ else
       FILES="$logfile \
              ../../gitian-builder/var/build.log \
              ../../gitian-builder/var/target.log"
-      tail -n 50 $FILES | $MAILX -E -s "Nightly build failure -- $(date +%F)" \
+      tail -n 50 $FILES | $MAILX -E -s "Nightly build failure -- $(date -u +%F)" \
                                  $LOGSENDER -- $LOGRECIPIENTS
   fi
 fi



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits