change format of the ardourVST startup script to match what we do for the non-wine build

git-svn-id: svn://localhost/ardour2/branches/3.0@11554 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Paul Davis 2012-02-29 19:11:06 +00:00
parent a3eaff8fa3
commit f040987f25

View file

@ -1,10 +1,8 @@
#!/bin/sh
# NOTE: the use of PREFIX is incorrect - it should be INSTALL_PREFIX,
# but somehow scons puts leading /'s on INSTALL_PREFIX and that causes
# wine to be unable to find the .exe.so file
export GTK_PATH=@LIBDIR@/ardour3${GTK_PATH:+:$GTK_PATH}
export LD_LIBRARY_PATH=@LIBDIR@/ardour3${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH}
export GTK_PATH=%PREFIX%/lib/ardour3:$GTK_PATH
exec wine @LIBDIR@/ardour3/ardour_vst.exe.so "$@"
LD_LIBRARY_PATH=%PREFIX%/lib/ardour3:$LD_LIBRARY_PATH exec wine %PREFIX%/lib/ardour3/ardour_vst.exe.so "$@"