summaryrefslogtreecommitdiff
path: root/lib/mdate-sh
diff options
context:
space:
mode:
authorMathieu Lirzin <mthl@gnu.org>2017-09-19 13:29:18 +0200
committerMathieu Lirzin <mthl@gnu.org>2017-09-19 13:29:18 +0200
commit561f4736f68e80a9235c7fab48d72de118282d6d (patch)
tree3915cb43383734f1ac786b5298c882e3b7b1a9ad /lib/mdate-sh
parentf4da36d7ffdde4ef05c99d861ce4bc01412f8dd1 (diff)
parent1b3b7b7d25a0762b7cc9ca8a62da559a42a2e844 (diff)
downloadautomake-561f4736f68e80a9235c7fab48d72de118282d6d.tar.gz
Merge branch 'minor'next
Diffstat (limited to 'lib/mdate-sh')
-rwxr-xr-xlib/mdate-sh6
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/mdate-sh b/lib/mdate-sh
index b9db8ca59..6dd5b21e7 100755
--- a/lib/mdate-sh
+++ b/lib/mdate-sh
@@ -1,7 +1,7 @@
#!/bin/sh
# Get modification time of a file or directory and pretty-print it.
-scriptversion=2017-09-16.17; # UTC
+scriptversion=2017-09-19.11; # UTC
# Copyright (C) 1995-2017 Free Software Foundation, Inc.
# written by Ulrich Drepper <drepper@gnu.ai.mit.edu>, June 1995
@@ -74,6 +74,10 @@ export LC_ALL
LC_TIME=C
export LC_TIME
+# Use UTC to get reproducible result.
+TZ=UTC
+export TZ
+
# GNU ls changes its time format in response to the TIME_STYLE
# variable. Since we cannot assume 'unset' works, revert this
# variable to its documented default.