From 21f15aea3f51c0a9efe7692d40d229cc1a7d5d3b Mon Sep 17 00:00:00 2001 From: Paul O'Connor Date: Wed, 17 Feb 2016 17:35:04 +0100 Subject: [PATCH] Use new link ldflags syntax --- scripts/build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/build.sh b/scripts/build.sh index fbaee92a20..4219872dc3 100755 --- a/scripts/build.sh +++ b/scripts/build.sh @@ -39,7 +39,7 @@ echo "==> Building..." gox \ -os="${XC_OS}" \ -arch="${XC_ARCH}" \ - -ldflags "-X main.GitCommit ${GIT_COMMIT}${GIT_DIRTY}" \ + -ldflags "-X=main.GitCommit ${GIT_COMMIT}${GIT_DIRTY}" \ -output "pkg/{{.OS}}_{{.Arch}}/terraform-{{.Dir}}" \ $(go list ./... | grep -v /vendor/)