Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
executable file 15 lines (11 sloc) 370 Bytes
#!/bin/sh
PYTHON_EXECUTABLE="python"
PYTHON_VER=`python -V 2>&1 |sed 's,Python \(.\)\..*,\1,'`
BOKKEN_DIR=`dirname $0`
if [ "$PYTHON_VER" -eq 3 ];then
# The python executable points to Python 3.
PYTHON_EXECUTABLE="python2"
fi
# distorm in bokken+pyew mode needs this for now.
export LD_LIBRARY_PATH=$BOKKEN_DIR/lib
$PYTHON_EXECUTABLE $BOKKEN_DIR/bokken.py $@