fix serious breakage with setup of plugin automatable controls/parameters, in which...
[ardour2.git] / tools / osx_packaging / startup_script
blob74822835212f28393e4599d9731d99f4f1cd0e0c
1 #!/bin/sh
4 # NOTE: Leopard appears not to set PATH for this script, so be absolutely certain
5 # never to use any other program without fully specifying the path.
7 # this is used to detect a missing JACK install which
8 # is the most common thing causing startup crashes.
9 #
11 if test ! -x /usr/local/bin/jackd -a ! -x /usr/bin/jackd ; then
12 /usr/bin/osascript -e 'tell application "Finder"
13 display dialog "You do not have JACK installed. Ardour will not run without it. See http://jackaudio.org/ for info" buttons["OK"]
14 end tell'
15 exit 1
19 # all clear, lets go
20 # this quoting is all needed to handle installation
21 # in folders likes /home/user/Frank's Wild Years
23 CWD="`/usr/bin/dirname \"$0\"`"
24 exec "$CWD/Ardour3.bin" "$*"