7
cd $dirname/../.. > /dev/null
12
cd `pwd`/$dirname/../.. > /dev/null
18
export PYTHONPATH=$path/lib
20
if [ "$INTERPRETER" != "" ]
22
INTERPRETER=`which $INTERPRETER`
25
PYPY=`which pypy 2>/dev/null`
26
PYTHON27=`which python2.7 2>/dev/null`
27
PYTHON26=`which python2.6 2>/dev/null`
28
PYTHON25=`which python2.5 2>/dev/null`
29
PYTHON24=`which python2.4 2>/dev/null`
30
PYTHON2=`which python2 2>/dev/null`
31
PYTHON=`which python 2>/dev/null`
36
elif [ -f "$PYTHON27" ]
39
elif [ -f "$PYTHON26" ]
42
elif [ -f "$PYTHON25" ]
45
elif [ -f "$PYTHON24" ]
48
elif [ -f "$PYTHON2" ]
58
exec $INTERPRETER -m exabgp.debug $*