From f1cb887d2083f05ae570cb44d7615c3b6cb9f913 Mon Sep 17 00:00:00 2001 From: Maxim Belkin Date: Mon, 9 Dec 2019 16:55:00 -0600 Subject: [PATCH] Makefile: fix two more syntax errors in conditionals --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index f4f44d0..5ae969f 100644 --- a/Makefile +++ b/Makefile @@ -12,12 +12,12 @@ DST=_site # (https://stackoverflow.com/a/4933395) PYTHON3_EXE := $(shell which python3 2>/dev/null) ifneq (, $(PYTHON3_EXE)) - ifeq $(,$(findstring Microsoft/WindowsApps/python3,$(subst \,/,$(PYTHON3_EXE)))) + ifeq (,$(findstring Microsoft/WindowsApps/python3,$(subst \,/,$(PYTHON3_EXE)))) PYTHON := python3 endif endif -ifeq $(,$(PYTHON)) +ifeq (,$(PYTHON)) PYTHON_EXE := $(shell which python 2>/dev/null) ifneq (, $(PYTHON_EXE)) PYTHON_VERSION_FULL := $(wordlist 2,4,$(subst ., ,$(shell python --version 2>&1))) -- 2.30.2