mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-08 06:35:46 +01:00
Rename PBD::find_file_in_search_path to just PBD::find_file
saves a bit of typing and not necessary if you look at how it is used.
This commit is contained in:
parent
8d0cba3384
commit
cd12698b9c
28 changed files with 45 additions and 45 deletions
|
|
@ -195,7 +195,7 @@ SystemExec::SystemExec (std::string command, const std::map<char, std::string> s
|
|||
{
|
||||
init ();
|
||||
make_argp_escaped(command, subs);
|
||||
if (!find_file_in_search_path (Searchpath (Glib::getenv ("PATH")), argp[0], cmd)) {
|
||||
if (!find_file (Searchpath (Glib::getenv ("PATH")), argp[0], cmd)) {
|
||||
// not found in path - use as-is
|
||||
cmd = argp[0];
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue