| author | |
| committer | |
| log | 97ec9fdd7929880699179f5024b8bb93ac424ee2 |
| tree | e3c1eec6dbf030a9be2dbecfb75b6a8837555fc0 |
| parent | 78a7543056112a1df8951712a746b9adb59787af |
1 files changed, 0 insertions(+), 6 deletions(-)
lib/std/fs.zig-6| ... | ... | @@ -2268,12 +2268,6 @@ pub fn selfExePath(out_buffer: []u8) SelfExePathError![]u8 { |
| 2268 | 2268 | } |
| 2269 | 2269 | } |
| 2270 | 2270 | |
| 2271 | if (os.getenv("_")) |sh_exefile| { | |
| 2272 | // sh (or bash) sets "_" environment variable | |
| 2273 | mem.copy(u8, out_buffer, sh_exefile); | |
| 2274 | return out_buffer[0..sh_exefile.len]; | |
| 2275 | } | |
| 2276 | ||
| 2277 | 2271 | // sorry, we don't find it |
| 2278 | 2272 | return error.FileNotFound; |
| 2279 | 2273 | }, |