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>
This commit is contained in:
Alexander Couzens 2015-06-06 21:03:29 +02:00 committed by Peter Stuge
parent 7710379da9
commit d9bc2fadc4
1 changed files with 1 additions and 1 deletions

View File

@ -27,7 +27,7 @@ if [ -d "${top}/.git" ] && [ -f "$(command -v git)" ]; then
DATE=$(git log --pretty=format:%ct -1) DATE=$(git log --pretty=format:%ct -1)
else else
GITREV=Unknown GITREV=Unknown
TIMESOURCE="LANG= TZ=UTC date" TIMESOURCE="LANG=C LC_ALL=C TZ=UTC date"
DATE=$(date +%s) DATE=$(date +%s)
fi fi