From: Maxim Belkin Date: Fri, 6 Dec 2019 19:43:11 +0000 (-0600) Subject: Makefile: suppress error message on Windows X-Git-Url: https://git.arvados.org/rnaseq-cwl-training.git/commitdiff_plain/651af34cbeccbf8a159320a75ce43f30bf88a753 Makefile: suppress error message on Windows --- 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)))