diff --git a/.circleci/bash_env.sh b/.circleci/bash_env.sh index 69004e7c8d..38bcfd5bd3 100644 --- a/.circleci/bash_env.sh +++ b/.circleci/bash_env.sh @@ -6,5 +6,5 @@ export GIT_DIRTY=$(test -n "`git status --porcelain`" && echo "+CHANGES" || true export GIT_IMPORT=github.com/hashicorp/consul/version # we're using this for build date because it's stable across platform builds # the env -i and -noprofile are used to ensure we don't try to recursively call this profile when starting bash -export GIT_DATE=$(env -i /bin/bash --noprofile -norc ${CIRCLE_WORKING_DIRECTORY}/build-support/scripts/build-date.sh) +export GIT_DATE=$(env -i /bin/bash --noprofile -norc /home/circleci/project/build-support/scripts/build-date.sh) export GOLDFLAGS="-X ${GIT_IMPORT}.GitCommit=${GIT_COMMIT}${GIT_DIRTY} -X ${GIT_IMPORT}.BuildDate=${GIT_DATE}"