ardour/vst/ardourvst.in
Robin Gareus 6a12022ccf fix vamp path:
* append, not replace
* make it work on wine/ardour
2016-06-25 00:44:04 +02:00

19 lines
456 B
Bash

#!/bin/sh
#
# Running Ardour requires these variables to be set
#
export ARDOUR_DATA_PATH=@DATADIR@
export ARDOUR_CONFIG_PATH=@CONFDIR@
export ARDOUR_DLL_PATH=@LIBDIR@
export VAMP_PATH=@LIBDIR@/vamp${VAMP_PATH:+:$VAMP_PATH}
export GTK_PATH=@LIBDIR@${GTK_PATH:+:$GTK_PATH}
export LD_LIBRARY_PATH=@LIBDIR@${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH}
# NSM needs a path to this script
export ARDOUR_SELF="$0"
exec wine @LIBDIR@/ardour-@VERSION@-vst.exe.so "$@"