From: Heiko Z. <smi...@us...> - 2004-08-22 12:22:09
|
Update of /cvsroot/devil-linux/build/scripts In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv4913 Modified Files: Tag: rel-1-2-patches build.sh Log Message: use commas and quote the text for build time log Index: build.sh =================================================================== RCS file: /cvsroot/devil-linux/build/scripts/build.sh,v retrieving revision 1.79.2.3 retrieving revision 1.79.2.4 diff -u -d -r1.79.2.3 -r1.79.2.4 --- build.sh 22 Aug 2004 12:04:31 -0000 1.79.2.3 +++ build.sh 22 Aug 2004 12:21:53 -0000 1.79.2.4 @@ -333,15 +333,15 @@ t=$((t2-t1)) # set the execution time to 1 when it's < 1, since we don't use nanoseconds test $t -eq 0 && t=1 - echo -n "$CMD;$SCRIPT;$t" >> $WORKDIR/LOGS/build_time.csv + echo -n "\"$CMD\",\"$SCRIPT\",$t," >> $WORKDIR/LOGS/build_time.csv if [ $RETVAL -gt 0 ]; then echo "ERROR" echo "$MYDIR/$SCRIPT $CMD failed" - echo " FAILED" >> $WORKDIR/LOGS/build_time.csv + echo "\"FAILED\"" >> $WORKDIR/LOGS/build_time.csv echo "check log file $WORKDIR/LOGS/$CMD/$SCRIPT for details" exit 1 else - echo " OK" >> $WORKDIR/LOGS/build_time.csv + echo "\"OK\"" >> $WORKDIR/LOGS/build_time.csv fi touch ${DONEFILE} if dirs +1 &>/dev/null; then |