Image build date now honours timezone

This commit is contained in:
Thomas Phillips 2017-06-02 16:51:54 +12:00 committed by XECDesign
parent a0060bd475
commit 50e5c01f57

View file

@ -128,7 +128,7 @@ if [ -z "${IMG_NAME}" ]; then
exit 1
fi
export IMG_DATE=${IMG_DATE:-"$(date -u +%Y-%m-%d)"}
export IMG_DATE=${IMG_DATE:-"$(date +%Y-%m-%d)"}
export BASE_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
export SCRIPT_DIR="${BASE_DIR}/scripts"