X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=tools%2Fosx_packaging%2Fstartup_script;h=ba9cf18e474d836fec34d930dacafd4c296a64d5;hb=994df3aaa370125d3fa442baa38392a32c640e69;hp=f807dd2b59987884d1c5005d9576108de284b6ec;hpb=0ac3ed8681676bbd44708f8c21d8c4993210fb53;p=ardour.git diff --git a/tools/osx_packaging/startup_script b/tools/osx_packaging/startup_script index f807dd2b59..ba9cf18e47 100644 --- a/tools/osx_packaging/startup_script +++ b/tools/osx_packaging/startup_script @@ -19,6 +19,8 @@ end tell' exit 1 fi +export ARDOUR_SELF="$0" + # this needs to be set so that we can restore the environment when we want to find JACK (or similar) export PREBUNDLE_ENV="$(env)" @@ -27,4 +29,4 @@ export PREBUNDLE_ENV="$(env)" # in folders likes /home/user/Frank's Wild Years CWD="`/usr/bin/dirname \"$0\"`" -exec "$CWD/Ardour3.bin" "$@" +exec "$CWD/Ardour.bin" "$@"