|
123456789101112131415 |
- #!/bin/sh
-
- PYTHON=$(which python3 2>/dev/null)
-
- if [ ! -f ${PYTHON} ]; then
- PYTHON=python
- fi
-
- if [ "$1" = "--gdb" ]; then
- PYTHON="gdb --args $PYTHON"
- fi
-
- INSTALL_PREFIX="X-PREFIX-X"
- export PATH="$INSTALL_PREFIX"/lib/carla:$PATH
- exec $PYTHON "$INSTALL_PREFIX"/share/carla/carla-rack --with-appname="$0" --with-libprefix="$INSTALL_PREFIX" "$@"
|