Commit 8c4a06e7 authored by Niels Möller's avatar Niels Möller

(timeecho): Set LC_ALL=C before calling date.

Rev: misc/xenofarm.sh:1.6
parent 8b8e17c5
......@@ -41,7 +41,8 @@ BASE=`echo lsh-*.tar.gz | sed 's/.tar.gz$//'`
VERS=`echo "$BASE" | sed 's/^lsh-//'`
timeecho () {
echo `TZ=UTC date '+%Y-%m-%d %H:%M:%S'`: "$@"
FIXME: Don't depend on GNU date
echo `LC_ALL=C TZ=UTC date '+%Y-%m-%d %H:%M:%S'`: "$@"
}
log () {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment