Skip to content

Commit

Permalink
Silence useless "command not found" if minishift not installed
Browse files Browse the repository at this point in the history
  • Loading branch information
smlx committed Dec 18, 2019
1 parent 5eda3ca commit 2ba6437
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Expand Up @@ -866,7 +866,7 @@ minishift/cleanall: minishift/stopall
# installed, otherwise downloads it.
local-dev/minishift/minishift:
@mkdir -p ./local-dev/minishift
ifeq ($(MINISHIFT_VERSION), $(shell minishift version | sed -E 's/^minishift v([0-9.]+).*/\1/'))
ifeq ($(MINISHIFT_VERSION), $(shell minishift version 2>/dev/null | sed -E 's/^minishift v([0-9.]+).*/\1/'))
$(info linking local minishift version $(MINISHIFT_VERSION))
ln -s $(shell command -v minishift) ./local-dev/minishift/minishift
else
Expand Down

0 comments on commit 2ba6437

Please sign in to comment.