summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xutil/board_status/to-wiki/towiki.sh2
-rwxr-xr-xutil/genbuild_h/genbuild_h.sh4
-rwxr-xr-xutil/release/build-release2
-rwxr-xr-xutil/scripts/update_submodules2
4 files changed, 5 insertions, 5 deletions
diff --git a/util/board_status/to-wiki/towiki.sh b/util/board_status/to-wiki/towiki.sh
index 769ae5f6cd..cf25cc2ff3 100755
--- a/util/board_status/to-wiki/towiki.sh
+++ b/util/board_status/to-wiki/towiki.sh
@@ -19,7 +19,7 @@ while read line; do
commit=`echo $i | cut -d/ -f3`
datetime_path=`echo $i | cut -d/ -f4`
datetime=`echo $datetime_path | tr _ :`
- datetime_human=`LC_ALL=C TZ=UTC date --date="$datetime"`
+ datetime_human=`LC_ALL=C TZ=UTC0 date --date="$datetime"`
upstream=`grep "^Upstream revision:" $vendor_board/$commit/$datetime_path/revision.txt |cut -d: -f2-`
upstream=`git log -1 --format=%H $upstream`
if ! echo "$have"| grep "^$vendor_board:" > /dev/null; then
diff --git a/util/genbuild_h/genbuild_h.sh b/util/genbuild_h/genbuild_h.sh
index 044d901195..3575ad4c35 100755
--- a/util/genbuild_h/genbuild_h.sh
+++ b/util/genbuild_h/genbuild_h.sh
@@ -20,7 +20,7 @@ TIMESOURCE=""
export LANG=C
export LC_ALL=C
-export TZ=UTC
+export TZ=UTC0
top=`dirname $0`/../..
@@ -35,7 +35,7 @@ elif [ -e "${top}/.git" -a -x "$(command -v git)" ]; then
else
GITREV=Unknown
TIMESOURCE="date"
- DATE=$(LANG= LC_ALL=C TZ=UTC date +%s)
+ DATE=$(LANG= LC_ALL=C TZ=UTC0 date +%s)
fi
our_date() {
diff --git a/util/release/build-release b/util/release/build-release
index 089984b595..a3cec3eb8c 100755
--- a/util/release/build-release
+++ b/util/release/build-release
@@ -13,7 +13,7 @@ set -e
# set local + tz to be reproducible
LC_ALL=C
LANG=C
-TZ=UTC
+TZ=UTC0
export LC_ALL LANG TZ
if [ -z "$VERSION_NAME" ] || [ "$VERSION_NAME" = "--help" ] || [ -z "$COMMIT_ID" ]; then
diff --git a/util/scripts/update_submodules b/util/scripts/update_submodules
index fbf9d4f5b1..b555495eda 100755
--- a/util/scripts/update_submodules
+++ b/util/scripts/update_submodules
@@ -21,7 +21,7 @@
export LANG=C
export LC_ALL=C
-export TZ=UTC
+export TZ=UTC0
min_commits=10