From 084f0898d341ccfadc2dcb557e8dd36c3825f094 Mon Sep 17 00:00:00 2001 From: matt-farmer Date: Wed, 17 Aug 2016 11:55:55 +1000 Subject: [PATCH] Linux & Windows build fixes UPX not running on Windows64, Linux32 overwriting Linux64 binaries --- build.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/build.sh b/build.sh index 673a76a..e5fb94e 100755 --- a/build.sh +++ b/build.sh @@ -75,6 +75,7 @@ build_windows64() { HARNESS=harness.exe ZIP=go-nias-Win64.zip do_build + do_upx do_bats do_zip echo "...all Windows64 binaries built..." @@ -120,7 +121,7 @@ build_linux32() { GOOS=linux GOARCH=386 LDFLAGS="-s -w" - OUTPUT=$CWD/build/Linux64/go-nias + OUTPUT=$CWD/build/Linux32/go-nias GNATS=gnatsd HARNESS=harness ZIP=go-nias-Linux32.zip