13
0

bundle needs to set panner path

git-svn-id: svn://localhost/ardour2/branches/3.0@8668 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Paul Davis 2011-02-01 22:24:40 +00:00
parent ce7dcfe320
commit 8a82309d8a

View File

@ -210,6 +210,18 @@ fixup_bundle_environment (int, char* [])
setenv ("ARDOUR_CONTROL_SURFACE_PATH", path.c_str(), 1);
cstr = getenv ("ARDOUR_PANNER_PATH");
if (cstr) {
path = cstr;
path += ':';
} else {
path = "";
}
path += dir_path;
path += "/lib/panners";
setenv ("ARDOUR_PANNER_PATH", path.c_str(), 1);
cstr = getenv ("LV2_PATH");
if (cstr) {
path = cstr;
@ -391,6 +403,18 @@ fixup_bundle_environment (int /*argc*/, char* argv[])
setenv ("ARDOUR_CONTROL_SURFACE_PATH", path.c_str(), 1);
cstr = getenv ("ARDOUR_PANNER_PATH");
if (cstr) {
path = cstr;
path += ':';
} else {
path = "";
}
path += dir_path;
path += "/lib/panners";
setenv ("ARDOUR_PANNER_PATH", path.c_str(), 1);
cstr = getenv ("LV2_PATH");
if (cstr) {
path = cstr;