From 1f41f32d3eecbd2822e00f7662cf7848f91c0984 Mon Sep 17 00:00:00 2001 From: Ismo Puustinen Date: Tue, 20 Feb 2018 14:29:22 +0200 Subject: [PATCH] hack/lib/protoc.sh: don't split find-binary output. --- hack/lib/protoc.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hack/lib/protoc.sh b/hack/lib/protoc.sh index 980684cbd8a..1adcea4b944 100644 --- a/hack/lib/protoc.sh +++ b/hack/lib/protoc.sh @@ -57,7 +57,7 @@ function kube::protoc::check_protoc() { # $1: Full path to the directory where the api.proto file is function kube::protoc::protoc() { 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 \ --proto_path="${package}" \