Skip to content

Commit f1cb887

Browse files
committed
Makefile: fix two more syntax errors in conditionals
1 parent a732a2b commit f1cb887

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,12 @@ DST=_site
1212
# (https://stackoverflow.com/a/4933395)
1313
PYTHON3_EXE := $(shell which python3 2>/dev/null)
1414
ifneq (, $(PYTHON3_EXE))
15-
ifeq $(,$(findstring Microsoft/WindowsApps/python3,$(subst \,/,$(PYTHON3_EXE))))
15+
ifeq (,$(findstring Microsoft/WindowsApps/python3,$(subst \,/,$(PYTHON3_EXE))))
1616
PYTHON := python3
1717
endif
1818
endif
1919

20-
ifeq $(,$(PYTHON))
20+
ifeq (,$(PYTHON))
2121
PYTHON_EXE := $(shell which python 2>/dev/null)
2222
ifneq (, $(PYTHON_EXE))
2323
PYTHON_VERSION_FULL := $(wordlist 2,4,$(subst ., ,$(shell python --version 2>&1)))

0 commit comments

Comments
 (0)