Use wine paths by default even if non-existent
[carla.git] / data / carla-jack-patchbayplugin
blobd47b19390d6e337b1673bf32bb24f0f887e9e942
1 #!/bin/sh
3 if [ -f "$(dirname ${0})/carla-utils.pc" ]; then
4 cd "$(dirname ${0})/.."
5 export ENGINE_OPTION_PATH_BINARIES="$(pwd)/bin"
6 else
7 INSTALL_PREFIX="X-PREFIX-X"
8 export ENGINE_OPTION_PATH_BINARIES="${INSTALL_PREFIX}/lib/carla"
9 export ENGINE_OPTION_PATH_RESOURCES="${INSTALL_PREFIX}/share/carla/resources"
12 exec "${ENGINE_OPTION_PATH_BINARIES}/carla-bridge-native" internal "" carlapatchbay