Update install docs
[carla.git] / data / carla-patchbay
blob83bafb08f91e37fb8b11c711bfa88d0db4b1f3ba
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-patchbay --with-appname="$0" --with-libprefix="$INSTALL_PREFIX" "$@"