Use wine paths by default even if non-existent
[carla.git] / data / carla-database
blob0aebdd13024d80dd9a1c466ddaeb59807233d3e2
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_database.py --with-libprefix="$INSTALL_PREFIX" "$@"