Skip to content

Commit

Permalink
Makefile: use which instead of command (open-telemetry#672)
Browse files Browse the repository at this point in the history
  • Loading branch information
chalin authored Aug 16, 2021
1 parent 6482604 commit c050d3b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
HTMLTEST_DIR=tmp
HTMLTEST?=htmltest # Specify as make arg if different
# Use $(HTMLTEST) in PATH, if available; otherwise, we'll get a copy
ifeq (, $(shell command -v $(HTMLTEST)))
ifeq (, $(shell which $(HTMLTEST)))
PRE_CHECK_LINKS=get-link-checker
override HTMLTEST=$(HTMLTEST_DIR)/bin/htmltest
endif
Expand Down

0 comments on commit c050d3b

Please sign in to comment.