From 651af34cbeccbf8a159320a75ce43f30bf88a753 Mon Sep 17 00:00:00 2001 From: Maxim Belkin Date: Fri, 6 Dec 2019 13:43:11 -0600 Subject: [PATCH] Makefile: suppress error message on Windows --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index a4268d7..4daaae6 100644 --- a/Makefile +++ b/Makefile @@ -10,7 +10,7 @@ DST=_site # Check Python 3 is installed and determine if it's called via python3 or python # (https://stackoverflow.com/a/4933395) -ifneq (, $(shell which python3)) +ifneq (, $(shell which python3 2>/dev/null)) PYTHON := python3 else ifneq (, $(shell which python)) PYTHON_VERSION_FULL := $(wordlist 2,4,$(subst ., ,$(shell python --version 2>&1))) -- 2.30.2