1. Andriy Kornatskyy
  2. wheezy.security

Commits

Andriy Kornatskyy  committed 8c0613e

Added /opt/local/bin to a search path for python.

  • Participants
  • Parent commits f9be979
  • Branches default

Comments (0)

Files changed (1)

File Makefile

View file
  • Ignore whitespace
 		python-sphinx mercurial
 
 env:
-	PYTHON_EXE=/usr/local/bin/python$(VERSION); \
+	PYTHON_EXE=/usr/local/bin/python$(VERSION) ; \
 	if [ ! -x $$PYTHON_EXE ]; then \
-		PYTHON_EXE=/usr/bin/python$(VERSION); \
-	fi;\
+		PYTHON_EXE=/opt/local/bin/python$(VERSION) ; \
+		if [ ! -x $$PYTHON_EXE ]; then \
+			PYTHON_EXE=/usr/bin/python$(VERSION) ; \
+		fi ; \
+	fi ; \
 	VIRTUALENV_USE_SETUPTOOLS=1; \
 	export VIRTUALENV_USE_SETUPTOOLS; \
 	virtualenv --python=$$PYTHON_EXE \