Merge pull request #19 from harche/gopath_fix

Exit if GOPATH is not set
This commit is contained in:
James O. D. Hunt
2018-01-16 11:36:57 +00:00
committed by GitHub

View File

@@ -91,6 +91,8 @@ done
shift $(($OPTIND - 1))
[ -z "$GOPATH" ] && die "GOPATH not set"
distro="$1"
[ -n "${distro}" ] || usage 1