Merge pull request #2384 from jonathanio/fix/build-script

Fix spelling error for CGO_ENABLED variable in build script
This commit is contained in:
Michael Schurter 2017-03-01 11:28:27 -08:00 committed by GitHub
commit d296bd6fe3
1 changed files with 2 additions and 3 deletions

View File

@ -46,11 +46,11 @@ for target in $targets; do
;;
"linux_amd64")
echo "==> Building linux amd64..."
CGO_ENBALED=1 GOARCH="amd64" GOOS="linux" go build -ldflags "-X $LDFLAG" -o "pkg/linux_amd64/nomad"
CGO_ENABLED=1 GOARCH="amd64" GOOS="linux" go build -ldflags "-X $LDFLAG" -o "pkg/linux_amd64/nomad"
;;
"linux_amd64-lxc")
echo "==> Building linux amd64 with lxc..."
CGO_ENBALED=1 GOARCH="amd64" GOOS="linux" go build -ldflags "-X $LDFLAG" -o "pkg/linux_amd64-lxc/nomad" -tags "lxc"
CGO_ENABLED=1 GOARCH="amd64" GOOS="linux" go build -ldflags "-X $LDFLAG" -o "pkg/linux_amd64-lxc/nomad" -tags "lxc"
;;
"linux_arm")
echo "==> Building linux arm..."
@ -113,4 +113,3 @@ done
echo
echo "==> Results:"
tree pkg/