From f371b80bf88950caa9fad8205dc6e0f39fd2a2c0 Mon Sep 17 00:00:00 2001 From: Josep Torra Date: Thu, 8 Mar 2012 09:38:27 +0100 Subject: Allow to change the python interpreter with the PYTHON environment variable. --- cerbero-uninstalled | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'cerbero-uninstalled') 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 "$@" -- cgit v1.2.3