diff --git a/scripts/build.sh b/scripts/build.sh index 42b3722a5..45e297d1d 100755 --- a/scripts/build.sh +++ b/scripts/build.sh @@ -54,7 +54,7 @@ gox \ -arch="${XC_ARCH}" \ -osarch="${XC_EXCLUDE_OSARCH}" \ -ldflags "${LD_FLAGS}" \ - -output "pkg/{{.OS}}_{{.Arch}}/terraform" \ + -output "pkg/{{.OS}}_{{.Arch}}/${PWD##*/}" \ . # Move all the compiled things to the $GOPATH/bin