From eb00bd14df2072acf9f80912153476ea6e657b07 Mon Sep 17 00:00:00 2001 From: Bent Bisballe Nyeng Date: Fri, 20 Jan 2023 14:45:45 +0100 Subject: Store PATH in env in configuration.cc for use in future reconfigure calls. --- src/util.cc | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/util.cc') diff --git a/src/util.cc b/src/util.cc index db5a5f6..76d380b 100644 --- a/src/util.cc +++ b/src/util.cc @@ -168,12 +168,10 @@ std::string esc(const std::string& in) return out; } -std::vector get_paths() +std::vector get_paths(const std::string& path_env) { std::vector paths; - std::string path_env = std::getenv("PATH"); - #ifdef _WIN32 const char sep{';'}; #else -- cgit v1.2.3