From 7d70d2b78dd3917f5da4fd233483fd903dfb2919 Mon Sep 17 00:00:00 2001 From: "Justin Terry (VM)" Date: Thu, 1 Nov 2018 13:32:55 -0700 Subject: [PATCH] Fix Makefile to run protobuild on paths with spaces Signed-off-by: Justin Terry (VM) --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 35021fd3b..8557d2e1a 100644 --- a/Makefile +++ b/Makefile @@ -116,11 +116,11 @@ AUTHORS: .mailmap .git/HEAD generate: protos @echo "$(WHALE) $@" - @PATH=${ROOTDIR}/bin:${PATH} go generate -x ${PACKAGES} + @PATH="${ROOTDIR}/bin:${PATH}" go generate -x ${PACKAGES} protos: bin/protoc-gen-gogoctrd ## generate protobuf @echo "$(WHALE) $@" - @PATH=${ROOTDIR}/bin:${PATH} protobuild --quiet ${PACKAGES} + @PATH="${ROOTDIR}/bin:${PATH}" protobuild --quiet ${PACKAGES} check-protos: protos ## check if protobufs needs to be generated again @echo "$(WHALE) $@"