Use wine paths by default even if non-existent
[carla.git] / data / carla-jack-single
blob64ffacb9736e7a45a235beece1f6dd58ee796250
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-jack-single --with-appname="$0" --with-libprefix="$INSTALL_PREFIX" "$@"