diff options
author | Alexander Couzens <lynxis@fe80.eu> | 2015-06-06 21:03:29 +0200 |
---|---|---|
committer | Peter Stuge <peter@stuge.se> | 2015-06-07 01:43:42 +0200 |
commit | d9bc2fadc4ea74ebca0d793aeef288fe9f1acf0c (patch) | |
tree | c640fc172640e980a05e328daa51a19e6feed74f /util/genbuild_h/genbuild_h.sh | |
parent | 7710379da9a5d06c7a6b2bcda29fa834575c551e (diff) |
genbuild_h: timestamps should not depend on LANG or LC_ALL
Fixes reproducible builds.
Change-Id: I3b0a21f93daee09605c0c2a05c1739e04f44527f
Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
Reviewed-on: http://review.coreboot.org/10447
Tested-by: build bot (Jenkins)
Reviewed-by: Peter Stuge <peter@stuge.se>
Diffstat (limited to 'util/genbuild_h/genbuild_h.sh')
-rwxr-xr-x | util/genbuild_h/genbuild_h.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/util/genbuild_h/genbuild_h.sh b/util/genbuild_h/genbuild_h.sh index 6120c1bdd3..3d25276948 100755 --- a/util/genbuild_h/genbuild_h.sh +++ b/util/genbuild_h/genbuild_h.sh @@ -27,7 +27,7 @@ if [ -d "${top}/.git" ] && [ -f "$(command -v git)" ]; then DATE=$(git log --pretty=format:%ct -1) else GITREV=Unknown - TIMESOURCE="LANG= TZ=UTC date" + TIMESOURCE="LANG=C LC_ALL=C TZ=UTC date" DATE=$(date +%s) fi |