restore early-return from fixup_bundle_environment() on macOS if not running from a bundle

Mistakenly removed while getting stdout/stderr logging to work
This commit is contained in:
Paul Davis 2019-12-30 10:36:04 -07:00
parent 60ccbcf9cc
commit b8460441fb
1 changed files with 4 additions and 0 deletions

View File

@ -100,6 +100,10 @@ fixup_bundle_environment (int argc, char* argv[], string & localedir)
no_app_nap ();
if (!g_getenv ("ARDOUR_BUNDLED")) {
return;
}
if (g_getenv ("ARDOUR_SELF")) {
g_setenv ("ARDOUR_SELF", argv[0], 1);
}