removed log file based on current date

This commit is contained in:
fros4943 2008-09-18 07:38:48 +00:00
parent 35a79812d8
commit 46a83a2909

View File

@ -16,12 +16,12 @@ rm -fr se obj_cooja
rm -f symbols.c symbols.h rm -f symbols.c symbols.h
echo ">>>>>>> Creating test log <<<<<<<<" echo ">>>>>>> Creating test log <<<<<<<<"
rm -f *.log #LOG="TEST-`date '+%F'`.log"
LOG="TEST-`date '+%F'`.log" LOG=currentlog.log
touch $LOG touch $LOG
echo "" >> $LOG
echo "Starting test run ($LOG)" echo "Starting test run ($LOG)"
echo "Test started: ($LOG)" >> $LOG echo "Test run started: ($LOG)" >> $LOG
echo "" >> $LOG
echo ">>>>>>> Updating from CVS <<<<<<<<" echo ">>>>>>> Updating from CVS <<<<<<<<"
echo "Updating anonymous Sourceforge CVS" >> $LOG echo "Updating anonymous Sourceforge CVS" >> $LOG