Skip to content

Commit 027220f

Browse files
committed
find python using which -a
1 parent 0b8882e commit 027220f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ all: help
22

33
EXTERNALS=externals
44

5-
PYTHON ?= python2
5+
PYTHON ?= `env which -a python2 python2.7 | head -n1`
66
PYTHONPATH=$$PYTHONPATH:$(EXTERNALS)/pypy
77

88

0 commit comments

Comments
 (0)