Fix potential wrong-over-optimization in math utilities
[carla.git] / data / carla-rack
blob7462511e53c0459d185d5cd9bdc46f4a34f0ccaa
1 #!/bin/sh
3 PYTHON=$(which python3 2>/dev/null)
5 if [ ! -f ${PYTHON} ]; then
6 PYTHON=python
7 fi
9 if [ "$1" = "--gdb" ]; then
10 PYTHON="gdb --args $PYTHON"
13 INSTALL_PREFIX="X-PREFIX-X"
14 export PATH="$INSTALL_PREFIX"/lib/carla:$PATH
15 exec $PYTHON "$INSTALL_PREFIX"/share/carla/carla-rack --with-appname="$0" --with-libprefix="$INSTALL_PREFIX" "$@"