add PREBUNDLE_ENV to startup script for OS X, so that JACK can be discovered correctly
authorPaul Davis <paul@linuxaudiosystems.com>
Mon, 23 Jul 2012 18:48:12 +0000 (18:48 +0000)
committerPaul Davis <paul@linuxaudiosystems.com>
Mon, 23 Jul 2012 18:48:12 +0000 (18:48 +0000)
git-svn-id: svn://localhost/ardour2/branches/3.0@13072 d708f5d6-7413-0410-9779-e7cbd77b26cf

tools/osx_packaging/startup_script

index 74822835212f28393e4599d9731d99f4f1cd0e0c..84e4e5da5edb4eaec48d8339755c4da5e14efdb3 100644 (file)
@@ -15,7 +15,9 @@ end tell'
    exit 1
 fi
 
-#
+# this needs to be set so that we can restore the environment when we want to find JACK (or similar)
+export PREBUNDLE_ENV="$(env)"
+
 # all clear, lets go
 # this quoting is all needed to handle installation
 # in folders likes /home/user/Frank's Wild Years