mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-04-30 12:44:39 +00:00
protocol: force GOPATH to be set
Currently, if GOPATH is not set, errors will raise since protoc is using GOPATH to find packages. Signed-off-by: Beraldo Leal <bleal@redhat.com>
This commit is contained in:
parent
68156d77ac
commit
8db84c1bd2
@ -89,6 +89,8 @@ which protoc
|
|||||||
which protoc-gen-gogottrpc
|
which protoc-gen-gogottrpc
|
||||||
[ $? -eq 0 ] || die "Please install protoc-gen-gogottrpc from https://github.com/containerd/ttrpc"
|
[ $? -eq 0 ] || die "Please install protoc-gen-gogottrpc from https://github.com/containerd/ttrpc"
|
||||||
|
|
||||||
|
[[ -n "$GOPATH" ]] || die "GOPATH is not set. Please set it."
|
||||||
|
|
||||||
# do generate work
|
# do generate work
|
||||||
target=$1
|
target=$1
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user