summaryrefslogtreecommitdiff
path: root/tools/osx_packaging
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2015-05-05 00:25:06 +0200
committerRobin Gareus <robin@gareus.org>2015-05-05 00:25:06 +0200
commit6b69fd5640871fb3d10a861f3eb3c9b4469794d6 (patch)
tree19efed138c8e995b45c046d694d65b5587e81caf /tools/osx_packaging
parentd1334074afd797db9f5ca2643565e18de9a6378e (diff)
NSM preparation for OSX and windows
Note that on those platforms the application name is a full path. This is permitted by the specs: “executable_name MUST be the executable name that the program was launched with. For C programs, this is simply the value of argv[0]” [http://non.tuxfamily.org/nsm/API.html#n:1.2.1.1.] but the current implementation of nsm expects the basename only and searched $PATH.
Diffstat (limited to 'tools/osx_packaging')
-rw-r--r--tools/osx_packaging/startup_script2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/osx_packaging/startup_script b/tools/osx_packaging/startup_script
index 75ed7200d1..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)"