[coreboot-gerrit] New patch to review for coreboot: bac24f4 genbuild_h: timestamps should not depend on LANG or LC
Alexander Couzens (lynxis@fe80.eu)
gerrit at coreboot.org
Sat Jun 6 21:09:01 CEST 2015
Alexander Couzens (lynxis at fe80.eu) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/10447
-gerrit
commit bac24f4adb36b765eca39cc32a9691c720ab021a
Author: Alexander Couzens <lynxis at fe80.eu>
Date: Sat Jun 6 21:03:29 2015 +0200
genbuild_h: timestamps should not depend on LANG or LC
timestamps should not depend on timezone or language settings.
Export overwritten env to the top and export them.
Change-Id: I3b0a21f93daee09605c0c2a05c1739e04f44527f
Signed-off-by: Alexander Couzens <lynxis at fe80.eu>
---
util/genbuild_h/genbuild_h.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/util/genbuild_h/genbuild_h.sh b/util/genbuild_h/genbuild_h.sh
index 6120c1b..3d25276 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
More information about the coreboot-gerrit
mailing list