From: Thierry Parmentelat Date: Fri, 23 Nov 2007 11:14:29 +0000 (+0000) Subject: remove confusing (backward) dates in log X-Git-Tag: 4.2-rc2~459 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=eee6127d3d26a5c280654b569662663aface8629;p=build.git remove confusing (backward) dates in log --- diff --git a/vbuild-nightly.sh b/vbuild-nightly.sh index 16bb021e..3126933e 100755 --- a/vbuild-nightly.sh +++ b/vbuild-nightly.sh @@ -26,7 +26,7 @@ TESTSVNPATH="http://svn.planet-lab.org/svn/tests/trunk/system/" TESTSCRIPT=TestMain.py #################### # assuming vserver runs in UTC -DATE=$(date -u +'%Y.%m.%d') +DATE=$(date +'%Y.%m.%d') # Notify recipient of failure or success, manage various stamps function failure() { @@ -295,9 +295,9 @@ function main () { # The log inside the vserver contains everything LOG2=/vservers/${BASE}/log.txt - (echo "==================== Transcript of vserver creation -- BEG $(date)" ; \ + (echo "==================== BEG VSERVER Transcript of vserver creation" ; \ cat $LOG ; \ - echo "==================== Transcript of vserver creation -- END $(date)" ; \ + echo "==================== END VSERVER Transcript of vserver creation" ; \ echo "xxxxxxxxxx Messing with logs, symlinking $LOG2 to $LOG" ) >> $LOG2 ### not too nice : nuke the former log, symlink it to the new one rm $LOG; ln -s $LOG2 $LOG