commit 4e17d93d3b21dd6f33e8e0069981ac4abae3d658 Author: Linus Nordberg linus@nordu.net 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