Browse Source

HUE-191. Build should honour python version set in buildvars

bc Wong 15 years ago
parent
commit
9ff3e38c4f
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Makefile.vars

+ 1 - 1
Makefile.vars

@@ -43,7 +43,7 @@ ifndef SKIP_PYTHONDEV_CHECK
   endif
   endif
   SYS_PYTHON := $(shell echo $(PYTHON_H) | grep -o python2..)
   SYS_PYTHON := $(shell echo $(PYTHON_H) | grep -o python2..)
 else
 else
-  SYS_PYTHON := $(shell which python)
+  SYS_PYTHON ?= $(shell which python)
 endif
 endif
 
 
 ifeq ($(SYS_PYTHON),)
 ifeq ($(SYS_PYTHON),)