Post-export hook tweaks
[ardour.git] / libs / ardour / plugin_manager.cc
index 2db24ed269c6c4dc5aa690aba8dc76fbc5b3c8b5..7c3eae538f9531fa9e17b20a2a796c2ebb4b3c6b 100644 (file)
@@ -116,10 +116,9 @@ PluginManager::PluginManager ()
        char* s;
        string lrdf_path;
 
-       if (!PBD::find_file_in_search_path (
-                               PBD::Searchpath(Glib::build_filename(ARDOUR::ardour_dll_directory(), "fst")),
-                               "ardour-vst-scanner", scanner_bin_path)) {
-               PBD::warning << "VST scanner app not found.'" << endmsg;
+       string  scan_p = Glib::build_filename(ARDOUR::ardour_dll_directory(), "fst");
+       if (!PBD::find_file_in_search_path ( PBD::Searchpath(scan_p), "ardour-vst-scanner", scanner_bin_path)) {
+               PBD::warning << "VST scanner app (ardour-vst-scanner) not found in path " << scan_p <<  endmsg;
        }
 
        load_statuses ();