diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2007-09-03 17:32:09 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2007-09-03 17:32:09 +0000 |
commit | 429f302103b728b4b5e97b4dd379365e1a1987c5 (patch) | |
tree | c791c884f20c585f8ecbe5941c6b357ff7a688af /gtk2_ardour/main.cc | |
parent | 48c12d940b81185996987b045db8218ca9d39939 (diff) |
don't do bundle stuff if not requested by environment
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@2364 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/main.cc')
-rw-r--r-- | gtk2_ardour/main.cc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gtk2_ardour/main.cc b/gtk2_ardour/main.cc index de57446023..ee3152935a 100644 --- a/gtk2_ardour/main.cc +++ b/gtk2_ardour/main.cc @@ -78,6 +78,10 @@ show_ui_callback (void *arg) void fixup_bundle_environment () { + if (!getenv ("ARDOUR_BUNDLED")) { + return; + } + char execpath[MAXPATHLEN+1]; uint32_t pathsz = sizeof (execpath); @@ -164,6 +168,7 @@ fixup_bundle_environment () setenv ("JACK_DRIVER_DIR", path.c_str(), 1); } } + #endif #ifdef VST_SUPPORT |