---
scripts/annotate-output.sh | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/scripts/annotate-output.sh b/scripts/annotate-output.sh
index 75c531c..7414c0f 100755
--- a/scripts/annotate-output.sh
+++ b/scripts/annotate-output.sh
@@ -25,7 +25,7 @@ progname=$(basename $0)
addtime ()
{
while read line; do
- echo "`date ${FMT}` $1: $line"
+ echo "`date "${FMT}"` $1: $line"
done
}
@@ -71,11 +71,11 @@ mkfifo $OUT $ERR || exit 1
addtime O < $OUT &
addtime E < $ERR &
-echo "`date ${FMT}` I: Started $@"
+echo "`date "${FMT}"` I: Started $@"
"$@" > $OUT 2> $ERR ; EXIT=$?
rm -f $OUT $ERR
wait
-echo "`date ${FMT}` I: Finished with exitcode $EXIT"
+echo "`date "${FMT}"` I: Finished with exitcode $EXIT"
exit $EXIT
--
1.7.1
--
To unsubscribe, send mail to [email protected].