Commit 97e1ee6a authored by ian@well-typed.com's avatar ian@well-typed.com

Use python2 if it exists. Based on a patch from michalt. Fixes #7333.

parent c7a5730b
......@@ -126,6 +126,9 @@ GS = gs
CP = cp
RM = rm -f
PYTHON = python
ifeq "$(shell $(SHELL) -c 'python2 -c 0' 2> /dev/null && echo exists)" "exists"
PYTHON = python2
endif
# -----------------------------------------------------------------------------
# configuration of TEST_HC
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment