summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2008-11-21 07:36:26 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2008-11-21 07:36:26 +0000
commitfbbe1988a922b036b2be0dc7347262a0d3a50584 (patch)
tree090237d925f2033558cb8b0fd0839d344f2caa2d
parentc297a754636ccc481b2f977aa89e8c840e2daad1 (diff)
use proper quoting to avoid possible startup problems on OS X if installed in folders with spaces2.7
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@4227 d708f5d6-7413-0410-9779-e7cbd77b26cf
-rw-r--r--tools/osx_packaging/startup_script8
1 files changed, 5 insertions, 3 deletions
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