diff options
author | Bent Bisballe Nyeng <deva@aasimon.org> | 2023-01-20 14:45:45 +0100 |
---|---|---|
committer | Bent Bisballe Nyeng <deva@aasimon.org> | 2023-01-20 14:45:45 +0100 |
commit | eb00bd14df2072acf9f80912153476ea6e657b07 (patch) | |
tree | afdbf7b2bbc5d4d52d0b0e672d618bfab96642ff /src/util.cc | |
parent | a5585150f0ff8d27ddd22792f521f1374a3eedd8 (diff) |
Store PATH in env in configuration.cc for use in future reconfigure calls.
Diffstat (limited to 'src/util.cc')
-rw-r--r-- | src/util.cc | 4 |
1 files changed, 1 insertions, 3 deletions
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<std::string> get_paths() +std::vector<std::string> get_paths(const std::string& path_env) { std::vector<std::string> paths; - std::string path_env = std::getenv("PATH"); - #ifdef _WIN32 const char sep{';'}; #else |