From: Paul Davis Date: Fri, 21 Nov 2008 07:36:26 +0000 (+0000) Subject: use proper quoting to avoid possible startup problems on OS X if installed in folders... X-Git-Tag: 2.8.16~1002 X-Git-Url: https://git.carlh.net/gitweb/?a=commitdiff_plain;h=fbbe1988a922b036b2be0dc7347262a0d3a50584;p=ardour.git use proper quoting to avoid possible startup problems on OS X if installed in folders with spaces git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@4227 d708f5d6-7413-0410-9779-e7cbd77b26cf --- diff --git a/tools/osx_packaging/startup_script b/tools/osx_packaging/startup_script index 8a994b43ad..0b12ddbb0f 100644 --- a/tools/osx_packaging/startup_script +++ b/tools/osx_packaging/startup_script @@ -14,8 +14,10 @@ fi # # all clear, lets go -# +# this quoting is all needed to handle installation +# in folders likes /home/user/Frank's Wild Years + +CWD="`/usr/bin/dirname \"$0\"`" +exec "$CWD/Ardour2.bin" "$*" -CWD=`/usr/bin/dirname $0` -exec $CWD/Ardour2.bin