diff --git a/src/plugin/utils.cpp b/src/plugin/utils.cpp index 6eb381c9..01b91d9a 100644 --- a/src/plugin/utils.cpp +++ b/src/plugin/utils.cpp @@ -119,7 +119,7 @@ fs::path find_vst_host(PluginArchitecture plugin_arch, bool use_plugin_groups) { // Boost will return an empty path if the file could not be found in the // search path const fs::path vst_host_path = - bp::search_path(host_name, get_modified_search_path()); + bp::search_path(host_name, get_augmented_search_path()); if (vst_host_path == "") { throw std::runtime_error("Could not locate '" + std::string(host_name) + "'"); @@ -177,7 +177,7 @@ boost::filesystem::path generate_group_endpoint( return get_temporary_directory() / socket_name.str(); } -std::vector get_modified_search_path() { +std::vector get_augmented_search_path() { std::vector search_path = boost::this_process::path(); diff --git a/src/plugin/utils.h b/src/plugin/utils.h index 96cc000e..f11d14e8 100644 --- a/src/plugin/utils.h +++ b/src/plugin/utils.h @@ -152,7 +152,7 @@ boost::filesystem::path generate_group_endpoint( * like that before. And since this is the recommended installation location, it * makes sense to also search there by default. */ -std::vector get_modified_search_path(); +std::vector get_augmented_search_path(); /** * Return a path to this `.so` file. This can be used to find out from where diff --git a/tools/yabridgectl/src/main.rs b/tools/yabridgectl/src/main.rs index b08bd8f3..649ce4e6 100644 --- a/tools/yabridgectl/src/main.rs +++ b/tools/yabridgectl/src/main.rs @@ -29,7 +29,7 @@ mod utils; fn main() -> Result<()> { // We'll modify our `PATH` environment variable so it matches up with - // `get_modified_search_path()` from `src/plugin/utils.h` for easier setup + // `get_augmented_search_path()` from `src/plugin/utils.h` for easier setup let yabridge_home = config::yabridge_directories()?.get_data_home(); env::set_var( "PATH",