Skip to content

Commit 651af34

Browse files
committed
Makefile: suppress error message on Windows
1 parent 41605eb commit 651af34

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ DST=_site
1010

1111
# Check Python 3 is installed and determine if it's called via python3 or python
1212
# (https://stackoverflow.com/a/4933395)
13-
ifneq (, $(shell which python3))
13+
ifneq (, $(shell which python3 2>/dev/null))
1414
PYTHON := python3
1515
else ifneq (, $(shell which python))
1616
PYTHON_VERSION_FULL := $(wordlist 2,4,$(subst ., ,$(shell python --version 2>&1)))

0 commit comments

Comments
 (0)