2022-10-21 18:38:19 +00:00
|
|
|
diff --git i/src/lib.rs w/src/lib.rs
|
2023-04-12 12:48:02 +00:00
|
|
|
index 5e98cfa..539434f 100644
|
2022-10-21 18:38:19 +00:00
|
|
|
--- i/src/lib.rs
|
|
|
|
+++ w/src/lib.rs
|
2023-04-12 12:48:02 +00:00
|
|
|
@@ -1755,7 +1755,7 @@ pub fn search_path(ro: &mut RunOptions, item: &EnvOptions) -> Option<String> {
|
|
|
|
let dirs = if item.search_path.is_some() {
|
|
|
|
item.search_path.as_ref().unwrap()
|
|
|
|
} else {
|
|
|
|
- "/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
|
|
|
|
+ "/run/wrappers/bin:/run/current-system/sw/sbin:/run/current-system/sw/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
|
|
|
|
};
|
2022-10-21 18:38:19 +00:00
|
|
|
|
2023-04-12 12:48:02 +00:00
|
|
|
for dir in dirs.split(':') {
|