summaryrefslogtreecommitdiffstats
path: root/FUNCTIONS
diff options
context:
space:
mode:
authorTreeve Jelbert2012-10-20 16:47:53 +0200
committerTreeve Jelbert2012-10-20 16:47:53 +0200
commit8b0a46492834b7f2ebd40bb6e5630142daf55dab (patch)
treeb0df637bddbd984597c76eb91bd2afebf0718f48 /FUNCTIONS
parent204dd070285c070830a8235d46296c068c60f65e (diff)
FUNCTIONS - explicitly use python2
Diffstat (limited to 'FUNCTIONS')
-rwxr-xr-xFUNCTIONS6
1 files changed, 3 insertions, 3 deletions
diff --git a/FUNCTIONS b/FUNCTIONS
index c0fc73cf66..2fbe0f1a9a 100755
--- a/FUNCTIONS
+++ b/FUNCTIONS
@@ -426,10 +426,10 @@ function unpack_file() {
}
#-------------------------------------------------------------------------
-## Default build for Python spell.
+## Default build for Python2 spell.
#-------------------------------------------------------------------------
function default_build_python() {
- python setup.py build "$@"
+ python2 setup.py build "$@"
}
#-------------------------------------------------------------------------
@@ -443,7 +443,7 @@ function default_build_python3() {
## Default install for Python spell.
#-------------------------------------------------------------------------
function default_install_python() {
- python setup.py install --root "$INSTALL_ROOT/" "$@"
+ python2 setup.py install --root "$INSTALL_ROOT/" "$@"
}
#-------------------------------------------------------------------------