diff --git a/go/Makefile b/go/Makefile index 9924ca8fe1ad..c6467f942867 100644 --- a/go/Makefile +++ b/go/Makefile @@ -1,7 +1,4 @@ -SHELL := /bin/bash +BAZEL := $(shell bash -c "which bazel") + gen: - bash -c "bazel version" - /bin/sh -c "bazel version" - bazel version - bash -c 'echo "$$PATH"' - pwd + $(BAZEL) version