aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--installer/go_install.cmd2
-rwxr-xr-xinstaller/go_install.sh2
2 files changed, 2 insertions, 2 deletions
diff --git a/installer/go_install.cmd b/installer/go_install.cmd
index fbd63c2..16e1ca8 100644
--- a/installer/go_install.cmd
+++ b/installer/go_install.cmd
@@ -5,4 +5,4 @@ if "x%1" equ "x" goto :EOF
set GOPATH=%cd%
set GOBIN=%cd%
go get -v -u %1
-rd /S /Q "src"
+rd /S /Q "src" "pkg" 2> NULL
diff --git a/installer/go_install.sh b/installer/go_install.sh
index b399969..be5feff 100755
--- a/installer/go_install.sh
+++ b/installer/go_install.sh
@@ -6,4 +6,4 @@
set -e
GOPATH=$(pwd) GOBIN=$(pwd) GO111MODULE=on go get -v "$1"
-rm -rf src
+rm -rf src pkg 2> /dev/null