Assume sane default to GOPATH if it doesn't exist in env

This commit is contained in:
Gregory Kurtzer
2021-04-23 20:42:06 -07:00
parent d189adc50c
commit 7f26ab646e

View File

@@ -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"