diff options
Diffstat (limited to 'gtk2_ardour/main.cc')
-rw-r--r-- | gtk2_ardour/main.cc | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/gtk2_ardour/main.cc b/gtk2_ardour/main.cc index c17d39d2a2..ecb1f23716 100644 --- a/gtk2_ardour/main.cc +++ b/gtk2_ardour/main.cc @@ -128,6 +128,15 @@ fixup_bundle_environment () */ path = dir_path; + + /* JACK is often in /usr/local/bin and since Info.plist refuses to + set PATH, we have to force this in order to discover a running + instance of JACK ... + */ + + path += ':'; + path += "/usr/local/bin"; + if (cstr) { path += ':'; path += cstr; @@ -143,7 +152,9 @@ fixup_bundle_environment () setenv ("ARDOUR_MODULE_PATH", path.c_str(), 1); - path = dir_path; + path = user_config_directory.to_string(); + path += ':'; + path += dir_path; path += "/../Resources/icons:"; path += dir_path; path += "/../Resources/pixmaps:"; |