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" ` .