diff options
| author | DanielGavin <danielgavin5@hotmail.com> | 2024-05-29 21:40:01 +0200 |
|---|---|---|
| committer | DanielGavin <danielgavin5@hotmail.com> | 2024-05-29 21:40:01 +0200 |
| commit | 2219138b240d0b8d8e71601b7852f666df316fea (patch) | |
| tree | a551ecb0c420e60a4544e3bc483512345fa933be /src/server/build.odin | |
| parent | 9cf3c6313e77b0c3d80b8ffc298b20ab2d5b633d (diff) | |
More work on renaming
Diffstat (limited to 'src/server/build.odin')
| -rw-r--r-- | src/server/build.odin | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/src/server/build.odin b/src/server/build.odin index aca1796..69e63b2 100644 --- a/src/server/build.odin +++ b/src/server/build.odin @@ -160,14 +160,7 @@ setup_index :: proc() { ) indexer.index = make_memory_index(symbol_collection) - dir_exe, ok := filepath.abs(path.dir(os.args[0], context.temp_allocator)) - - if !ok { - log.error( - "Failed to find ols executable path to build the builtin packages", - ) - return - } + dir_exe := common.get_executable_path() try_build_package(path.join({dir_exe, "builtin"})) } |