From 7f26ab646eaa018b90bb0188d3f7886933d75979 Mon Sep 17 00:00:00 2001 From: Gregory Kurtzer Date: Fri, 23 Apr 2021 20:42:06 -0700 Subject: [PATCH] Assume sane default to GOPATH if it doesn't exist in env --- internal/pkg/staticfiles/build.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/internal/pkg/staticfiles/build.sh b/internal/pkg/staticfiles/build.sh index b1ff659e..554aee1e 100755 --- a/internal/pkg/staticfiles/build.sh +++ b/internal/pkg/staticfiles/build.sh @@ -1,5 +1,6 @@ #!/bin/sh +test -z "$GOPATH" && GOPATH="$HOME/go" if ! test -x $GOPATH/bin/implant; then IMPLANT_GIT="https://github.com/skx/implant"