From 87b84c71a6bac1be2267ddb117ba729b44dc99b7 Mon Sep 17 00:00:00 2001 From: Jonathan Wright Date: Wed, 1 Mar 2017 19:21:46 +0000 Subject: [PATCH] Fix spelling error for CGO_ENABLED variable in build script --- scripts/build.sh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/scripts/build.sh b/scripts/build.sh index d24b00f20..6908840cc 100755 --- a/scripts/build.sh +++ b/scripts/build.sh @@ -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/ -