carla/data/carla

16 lines
341 B
Plaintext
Raw Normal View History

#!/bin/sh
2013-01-11 10:51:42 +02:00
PYTHON=$(which python3 2>/dev/null)
if [ ! -f ${PYTHON} ]; then
2013-01-11 10:51:42 +02:00
PYTHON=python
fi
2015-02-13 12:10:57 +02:00
if [ "$1" = "--gdb" ]; then
2015-02-11 16:17:35 +02:00
PYTHON="gdb --args $PYTHON"
fi
2013-01-11 10:51:42 +02:00
INSTALL_PREFIX="X-PREFIX-X"
export PATH="$INSTALL_PREFIX"/lib/carla:$PATH
exec $PYTHON "$INSTALL_PREFIX"/share/carla/carla --with-appname="$0" --with-libprefix="$INSTALL_PREFIX" "$@"