ardour/tools/osx_packaging/startup_script
Paul Davis d89ee26bcf remove newlines from jack-missing error message so that it actually works
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@4216 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-11-19 19:35:23 +00:00

21 lines
452 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