Fix spelling error for CGO_ENABLED variable in build script

This commit is contained in:
Jonathan Wright
2017-03-01 19:21:46 +00:00
parent 6bdf78330d
commit 5112eee9ff

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/