use $PYTHON in launch.sh

This commit is contained in:
Yann Leboulanger 2010-10-06 21:18:47 +02:00
parent d39a962157
commit 7f649c1507
1 changed files with 4 additions and 1 deletions

View File

@ -1,3 +1,6 @@
#!/bin/sh
if [ ! $PYTHON ]; then
PYTHON="python";
fi
cd "$(dirname $0)/src"
exec python -OOt gajim.py "$@"
exec $PYTHON -OOt gajim.py "$@"