Merge pull request #2384 from jonathanio/fix/build-script
Fix spelling error for CGO_ENABLED variable in build script
This commit is contained in:
commit
d296bd6fe3
|
@ -46,11 +46,11 @@ for target in $targets; do
|
||||||
;;
|
;;
|
||||||
"linux_amd64")
|
"linux_amd64")
|
||||||
echo "==> Building 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")
|
"linux_amd64-lxc")
|
||||||
echo "==> Building linux amd64 with 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")
|
"linux_arm")
|
||||||
echo "==> Building linux arm..."
|
echo "==> Building linux arm..."
|
||||||
|
@ -113,4 +113,3 @@ done
|
||||||
echo
|
echo
|
||||||
echo "==> Results:"
|
echo "==> Results:"
|
||||||
tree pkg/
|
tree pkg/
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue