Merge pull request #13704 from tianon/build-utc

Swap build-* to use UTC instead of local time
This commit is contained in:
Jessie Frazelle 2015-06-03 22:05:09 -07:00
Родитель 57bba29f79 aa54a93f74
Коммит ef3e956aa2
2 изменённых файлов: 6 добавлений и 2 удалений

Просмотреть файл

@ -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

Просмотреть файл

@ -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