diff --git a/Makefile b/Makefile index 50f0ff7a3..2ca9833fb 100644 --- a/Makefile +++ b/Makefile @@ -91,10 +91,10 @@ install-protoc: if [ $(shell ${DEPSGOBIN}/protoc --version | grep -c ${PROTOC_VERSION}) -ne 0 ]; then \ echo expected protoc version ${PROTOC_VERSION} already installed ;\ else \ - if [ "$(shell uname)" == "Darwin" ]; then \ + if [ "$(shell uname)" = "Darwin" ]; then \ echo "downloading protoc for osx" ;\ wget $(PROTOC_URL)-osx-x86_64.zip -O $(DEPSGOBIN)/protoc-${PROTOC_VERSION}.zip ;\ - elif [ "$(shell uname -m)" == "aarch64" ]; then \ + elif [ "$(shell uname -m)" = "aarch64" ]; then \ echo "downloading protoc for linux aarch64" ;\ wget $(PROTOC_URL)-linux-aarch_64.zip -O $(DEPSGOBIN)/protoc-${PROTOC_VERSION}.zip ;\ else \ diff --git a/changelog/v0.36.1/fix-protoc-target.yaml b/changelog/v0.36.1/fix-protoc-target.yaml new file mode 100644 index 000000000..8d07b00fc --- /dev/null +++ b/changelog/v0.36.1/fix-protoc-target.yaml @@ -0,0 +1,4 @@ +changelog: +- type: NON_USER_FACING + description: >- + Fix the "install-protoc" Makefile target.