Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

executable file 15 lines (11 sloc) 0.37 kb
#!/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 $@
Jump to Line
Something went wrong with that request. Please try again.