ardour/tools/osx_packaging/startup_script
Paul Davis 9dc755ea23 use helper-script to detect JACK when starting a bundle that doesn't come with JACK
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@4215 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-11-19 16:52:26 +00:00

23 lines
455 B
Bash

#!/bin/sh
#
# this is used to detect a missing JACK install which
# is the most common thing causing startup crashes.
#
if test ! -x /usr/local/bin/jackd -a ! -x /usr/bin/jackd ; then
osascript -e 'tell application "Terminal"
display dialog "You do not have JACK installed.\
Ardour will not run without it.\
See http://jackaudio.org/ for info" buttons["OK"]
end tell'
exit 1
fi
#
# all clear, lets go
#
CWD=`dirname $0`
exec $CWD/Ardour2.bin