diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2008-11-24 06:42:04 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2008-11-24 06:42:04 +0000 |
commit | b6948a1bfa65702973e6461cb48c5f1d8cd2a9ff (patch) | |
tree | 24c12b717a4611e92bf1e6164ce627a2a80b05a3 /tools | |
parent | 90d2ae23ad540bdb450886e12deea603e76db2bc (diff) |
another attempt to fix the osascript mess
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@4239 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'tools')
-rw-r--r-- | tools/osx_packaging/startup_script | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/tools/osx_packaging/startup_script b/tools/osx_packaging/startup_script index 0b12ddbb0f..c7b9b5acf8 100644 --- a/tools/osx_packaging/startup_script +++ b/tools/osx_packaging/startup_script @@ -1,12 +1,15 @@ #!/bin/sh # +# NOTE: Leopard appears not to set PATH for this script, so be absolutely certain +# never to use any other program without fully specifying the path. +# # 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" + /usr/bin/osascript -e 'tell application "Finder" 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 @@ -19,5 +22,3 @@ fi CWD="`/usr/bin/dirname \"$0\"`" exec "$CWD/Ardour2.bin" "$*" - - |