mdate-sh: Ensure reproducible time output
commit7c25c996d1c7c212a5981aa0e9c4434b6f33f7b8
authorReiner Herrmann <reiner@reiner-h.de>
Fri, 15 Sep 2017 09:43:53 +0000 (15 11:43 +0200)
committerMathieu Lirzin <mthl@gnu.org>
Fri, 15 Sep 2017 10:00:33 +0000 (15 12:00 +0200)
treeb6d90ab8539de910daa2fd1dd3900c119ea4a1e9
parent333b98f2d108111e9a99e7ede17de7f0a1adba03
mdate-sh: Ensure reproducible time output

This change fixes automake bug#20314.

'mdate-sh' pretty-prints the modification time of a file.  But it's
output can vary depending on the timezone of the caller. Someone in
timezone GMT-12 will get a different result (day) than someone in
timezone GMT+12.  As this output is also used to create/update stamp
files, which influence the further build process, the build result can
vary.

* lib/mdate-sh: Set 'TZ' to UTC which ensures reproducible output.
* NEWS: Announce bug fix.

Copyright-paperwork-exempt: yes
NEWS
lib/mdate-sh