- bool export_path_defined = false;
- SearchPath spath_env (Glib::getenv(export_env_variable_name, export_path_defined));
-
- if (export_path_defined) {
- return spath_env;
- }
+ SearchPath spath (ardour_data_search_path());
+ spath.add_subdirectory_to_paths (export_formats_dir_name);