Update of /cvsroot/devil-linux/build/scripts
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv4648
Modified Files:
build.sh
Log Message:
use commas and quote the text
Index: build.sh
===================================================================
RCS file: /cvsroot/devil-linux/build/scripts/build.sh,v
retrieving revision 1.81
retrieving revision 1.82
diff -u -d -r1.81 -r1.82
--- build.sh 3 Aug 2004 10:41:28 -0000 1.81
+++ build.sh 22 Aug 2004 12:21:01 -0000 1.82
@@ -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/DL_BUILD_LOG
+ 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/DL_BUILD_LOG
+ echo "\"FAILED\"" >> $WORKDIR/LOGS/build_time.csv
echo "check log file $WORKDIR/LOGS/$CMD/$SCRIPT for details"
exit 1
else
- echo " OK" >> $WORKDIR/LOGS/DL_BUILD_LOG
+ echo "\"OK\"" >> $WORKDIR/LOGS/build_time.csv
fi
touch ${DONEFILE}
if dirs +1 &>/dev/null; then
|