summaryrefslogtreecommitdiffstats
path: root/init_node
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2017-06-02 12:42:52 +0200
committerHolger Levsen <holger@layer-acht.org>2017-06-02 12:42:52 +0200
commit5a0b721c51ddd065e50ae3c573677c37d91c196e (patch)
treefec0b5099f419ce99a920c22cf9ff2c6fb6ff1f3 /init_node
parent527f2c81c35b6497c35df646f992913940c460e0 (diff)
downloadjenkins.debian.net-5a0b721c51ddd065e50ae3c573677c37d91c196e.tar.xz
reproducible Debian: improve output
Signed-off-by: Holger Levsen <holger@layer-acht.org>
Diffstat (limited to 'init_node')
-rwxr-xr-xinit_node4
1 files changed, 2 insertions, 2 deletions
diff --git a/init_node b/init_node
index 5361e979..78781953 100755
--- a/init_node
+++ b/init_node
@@ -22,7 +22,7 @@ START=$(date +'%s')
GIT_REPO="git://anonscm.debian.org/qa/jenkins.debian.net.git"
echo
-echo -n "$(date) - "
+echo "$(date -u)"
set -e
export LANG=C
set -x
@@ -45,6 +45,6 @@ DURATION=$(( $END - $START ))
HOUR=$(echo "$DURATION/3600"|bc)
MIN=$(echo "($DURATION-$HOUR*3600)/60"|bc)
SEC=$(echo "$DURATION-$HOUR*3600-$MIN*60"|bc)
-echo "$(date) - total duration: ${HOUR}h ${MIN}m ${SEC}s."
+echo "$(date -u) - total duration: ${HOUR}h ${MIN}m ${SEC}s."
echo