summaryrefslogtreecommitdiff
path: root/cerbero-uninstalled
diff options
context:
space:
mode:
authorJosep Torra <n770galaxy@gmail.com>2012-03-08 09:38:27 +0100
committerAndoni Morales Alastruey <ylatuya@gmail.com>2012-03-20 17:19:11 +0100
commitf371b80bf88950caa9fad8205dc6e0f39fd2a2c0 (patch)
tree39d78b5c6113c29cb2828398944fd03c88865bf3 /cerbero-uninstalled
parent8309ef8e86748675bb8a4625067b14132d167bd5 (diff)
Allow to change the python interpreter with the PYTHON environment variable.
Diffstat (limited to 'cerbero-uninstalled')
-rwxr-xr-xcerbero-uninstalled8
1 files changed, 7 insertions, 1 deletions
diff --git a/cerbero-uninstalled b/cerbero-uninstalled
index e4954906..37db3fea 100755
--- a/cerbero-uninstalled
+++ b/cerbero-uninstalled
@@ -1,5 +1,11 @@
+#!/bin/sh
export PYTHONPATH=$PYTHONPATH:`pwd`
export CERBERO_UNINSTALLED=1
-python bin/cerbero "$@"
+if [ -z $PYTHON ]
+then
+ PYTHON=python
+fi
+
+$PYTHON bin/cerbero "$@"