use command -v instead of which

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
This commit is contained in:
Jörn Friedrich Dreyer
2022-05-13 11:16:40 +00:00
parent 0e7de0faf3
commit acab143050
33 changed files with 33 additions and 33 deletions
+1 -1
View File
@@ -4,7 +4,7 @@ NAME := auth-basic
include ../../.make/recursion.mk
############ tooling ############
ifneq (, $(shell which go 2> /dev/null)) # suppress `command not found warnings` for non go targets in CI
ifneq (, $(shell command -v go 2> /dev/null)) # suppress `command not found warnings` for non go targets in CI
include ../../.bingo/Variables.mk
endif