summaryrefslogtreecommitdiff
path: root/util/genbuild_h
diff options
context:
space:
mode:
authorAlexander Couzens <lynxis@fe80.eu>2015-06-06 21:03:29 +0200
committerPeter Stuge <peter@stuge.se>2015-06-07 01:43:42 +0200
commitd9bc2fadc4ea74ebca0d793aeef288fe9f1acf0c (patch)
treec640fc172640e980a05e328daa51a19e6feed74f /util/genbuild_h
parent7710379da9a5d06c7a6b2bcda29fa834575c551e (diff)
downloadcoreboot-d9bc2fadc4ea74ebca0d793aeef288fe9f1acf0c.tar.xz
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')
-rwxr-xr-xutil/genbuild_h/genbuild_h.sh2
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