Makefile: fix syntax in conditional
authorMaxim Belkin <maxim.belkin@gmail.com>
Mon, 9 Dec 2019 22:51:12 +0000 (16:51 -0600)
committerMaxim Belkin <maxim.belkin@gmail.com>
Mon, 9 Dec 2019 22:51:12 +0000 (16:51 -0600)
Makefile

index a0cad9eeeb25725cc5f15a971a93976432eb300a..f4f44d04fb418c66cd6c2b571c48dd5e1325d42b 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -12,7 +12,7 @@ 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