From d44fa76683619e71d90518aa588a8c81d9329a85 Mon Sep 17 00:00:00 2001 From: Matthew Hooker Date: Wed, 9 Nov 2016 15:11:05 -0800 Subject: [PATCH] update windows build script for go compatibility --- scripts/build.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/build.ps1 b/scripts/build.ps1 index bd398affe..d82f1e679 100644 --- a/scripts/build.ps1 +++ b/scripts/build.ps1 @@ -70,7 +70,7 @@ echo "==> Building..." gox.exe ` -os="${XC_OS}" ` -arch="${XC_ARCH}" ` - -ldflags "-X github.com/mitchellh/packer/version.GitCommit ${GIT_COMMIT}${GIT_DIRTY}" ` + -ldflags "-X github.com/mitchellh/packer/version.GitCommit=${GIT_COMMIT}${GIT_DIRTY}" ` -output "pkg/{{.OS}}_{{.Arch}}/packer" ` .