Swap build-* to use UTC instead of local time

Signed-off-by: Andrew "Tianon" Page <admwiggin@gmail.com>
Upstream-commit: aa54a93f749e2048957eb28e6045770672cb8838
Component: engine
This commit is contained in:
Tianon Gravi
2015-06-03 09:56:46 -07:00
parent d61059b14c
commit 77c62581e8
2 changed files with 6 additions and 2 deletions

View File

@ -1,8 +1,10 @@
#!/bin/bash
set -e
# subshell so that we can export PATH without breaking other things
# subshell so that we can export PATH and TZ without breaking other things
(
export TZ=UTC # make sure our "date" variables are UTC-based
source "${MAKEDIR}/.integration-daemon-start"
# TODO consider using frozen images for the dockercore/builder-deb tags

View File

@ -1,8 +1,10 @@
#!/bin/bash
set -e
# subshell so that we can export PATH without breaking other things
# subshell so that we can export PATH and TZ without breaking other things
(
export TZ=UTC # make sure our "date" variables are UTC-based
source "$(dirname "$BASH_SOURCE")/.integration-daemon-start"
# TODO consider using frozen images for the dockercore/builder-rpm tags