mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-09-20 16:27:52 +00:00
Merge pull request #19 from harche/gopath_fix
Exit if GOPATH is not set
This commit is contained in:
@@ -91,6 +91,8 @@ done
|
|||||||
|
|
||||||
shift $(($OPTIND - 1))
|
shift $(($OPTIND - 1))
|
||||||
|
|
||||||
|
[ -z "$GOPATH" ] && die "GOPATH not set"
|
||||||
|
|
||||||
distro="$1"
|
distro="$1"
|
||||||
|
|
||||||
[ -n "${distro}" ] || usage 1
|
[ -n "${distro}" ] || usage 1
|
||||||
|
Reference in New Issue
Block a user