From dc9b9168d1fc301e35363dcdf569768d6b0cfcab Mon Sep 17 00:00:00 2001 From: Jay Looney Date: Thu, 21 Jan 2016 04:55:12 -0600 Subject: [PATCH] Fix #1488 gox doesn't get copied anywhere that might be in the users $PATH by default, however if someone has a functional Go setup they are required to have a $GOPATH variable which will contain their Go workspace and executables of all built go programs under $GOPATH/bin There are certainly many solutions to this but after reading the Go documentation this seemed to me like it would be the quickest and most cross-platform. --- scripts/build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/build.sh b/scripts/build.sh index c7bbf2acb2..5317330c71 100755 --- a/scripts/build.sh +++ b/scripts/build.sh @@ -38,7 +38,7 @@ fi # Build! echo "==> Building..." -gox \ +$GOPATH/bin/gox \ -os="${XC_OS}" \ -arch="${XC_ARCH}" \ -ldflags "-X main.GitCommit ${GIT_COMMIT}${GIT_DIRTY} -X main.GitDescribe ${GIT_DESCRIBE}" \