Housekeeping
authorMichael R. Fisher <mfisher@bketech.com>
Mon, 15 Jul 2013 02:40:20 +0000 (21:40 -0500)
committerMichael R. Fisher <mfisher@bketech.com>
Mon, 15 Jul 2013 02:40:20 +0000 (21:40 -0500)
libs/ardour/filesystem_paths.cc

index d3ec807e1c67cb73a6bada3be94262cb789826ae..73bfaff137f726c0b9854d9516d552ebf8d7e958 100644 (file)
@@ -86,14 +86,11 @@ user_config_directory ()
 std::string
 ardour_dll_directory ()
 {
-       static std::string s;
-
+       std::string s = Glib::getenv("ARDOUR_DLL_PATH");
        if (s.empty()) {
-               s = Glib::getenv("ARDOUR_DLL_PATH");
                std::cerr << _("ARDOUR_DLL_PATH not set in environment - exiting\n");
                ::exit (1);
-       }
-
+       }       
        return s;
 }