summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xutil/genbuild_h/genbuild_h.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/util/genbuild_h/genbuild_h.sh b/util/genbuild_h/genbuild_h.sh
index be72f81f52..0a70eb8d1e 100755
--- a/util/genbuild_h/genbuild_h.sh
+++ b/util/genbuild_h/genbuild_h.sh
@@ -32,8 +32,8 @@ if [ -d "${top}/.git" ] && [ -f "$(command -v git)" ]; then
DATE=$(git log --pretty=format:%ct -1)
else
GITREV=Unknown
- TIMESOURCE="LANG=C LC_ALL=C TZ=UTC date"
- DATE=$(date +%s)
+ TIMESOURCE="date"
+ DATE=$(LANG= LC_ALL=C TZ=UTC date +%s)
fi
our_date() {