summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tools/osx_packaging/startup_script4
1 files changed, 3 insertions, 1 deletions
diff --git a/tools/osx_packaging/startup_script b/tools/osx_packaging/startup_script
index 7482283521..84e4e5da5e 100644
--- a/tools/osx_packaging/startup_script
+++ b/tools/osx_packaging/startup_script
@@ -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