diff options
| author | Daniel Gavin <danielgavin5@hotmail.com> | 2022-07-23 16:35:35 +0200 |
|---|---|---|
| committer | Daniel Gavin <danielgavin5@hotmail.com> | 2022-07-23 16:35:35 +0200 |
| commit | ff540199891347486868a8a3bac1dce53947cf7f (patch) | |
| tree | bf95b790f3a699cb0037ade051417126c6a9584a | |
| parent | d69761f1dc75599b1314a368ae98590ff79bb4c8 (diff) | |
Typo
| -rw-r--r-- | src/common/util.odin | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/util.odin b/src/common/util.odin index 662d30d..6e31563 100644 --- a/src/common/util.odin +++ b/src/common/util.odin @@ -15,7 +15,7 @@ when ODIN_OS == .Windows { File_Mode_User_Executable :: os.File_Mode(1 << 8) lookup_in_path :: proc(name: string) -> (string, bool) { - path := os.get_env("path", context.temp_allocator) + path := os.get_env("PATH", context.temp_allocator) for directory in strings.split_iterator(&path, delimiter) { when ODIN_OS == .Windows { |