mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-11 14:11:14 +00:00
hack/lib/protoc.sh: don't split find-binary output.
This commit is contained in:
@@ -57,7 +57,7 @@ function kube::protoc::check_protoc() {
|
|||||||
# $1: Full path to the directory where the api.proto file is
|
# $1: Full path to the directory where the api.proto file is
|
||||||
function kube::protoc::protoc() {
|
function kube::protoc::protoc() {
|
||||||
local package=${1}
|
local package=${1}
|
||||||
gogopath=$(dirname $(kube::util::find-binary "protoc-gen-gogo"))
|
gogopath=$(dirname "$(kube::util::find-binary "protoc-gen-gogo")")
|
||||||
|
|
||||||
PATH="${gogopath}:${PATH}" protoc \
|
PATH="${gogopath}:${PATH}" protoc \
|
||||||
--proto_path="${package}" \
|
--proto_path="${package}" \
|
||||||
|
Reference in New Issue
Block a user