From 544f57972cb20af256905458aada4b0cc1105f06 Mon Sep 17 00:00:00 2001 From: evilsocket Date: Wed, 28 Feb 2018 13:48:37 +0100 Subject: [PATCH] misc: small fix or general refactoring i did not bother commenting --- build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.sh b/build.sh index 404c906f..45257c62 100755 --- a/build.sh +++ b/build.sh @@ -123,7 +123,7 @@ build_macos_amd64() { ssh osxvm "cd $DIR && rm -rf '$OUTPUT' && git checkout . && git pull" > /dev/null echo "@ Building $OUTPUT ..." - ssh osxvm "export GOPATH=/Users/evilsocket/gocode && cd '$DIR' && PATH=$PATH:/usr/local/bin && go build -o $OUTPUT ." > /dev/null + ssh osxvm "export GOPATH=/Users/evilsocket/gocode && cd '$DIR' && PATH=$PATH:/usr/local/bin && go get ./... && go build -o $OUTPUT ." > /dev/null echo "@ Downloading $OUTPUT ..." scp -C osxvm:$DIR/$OUTPUT . > /dev/null