fixes #6265 for GNU/Linux.
export ARDOUR_CONFIG_PATH=@CONFDIR@
export ARDOUR_DLL_PATH=@LIBDIR@
+#
+# NSM needs a path to this script
+#
+
+export ARDOUR_SELF="$0"
+
#
# VAMP has its own lookup path
#
export ARDOUR_BUNDLED=true
+# NSM needs a path to this script
+export ARDOUR_SELF="$0"
+
+
# this is edited by the build script to include relevant environment variables
%ENV%
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 "$@"