aboutsummaryrefslogtreecommitdiff
path: root/src/server
diff options
context:
space:
mode:
authorDanielGavin <danielgavin5@hotmail.com>2025-07-14 15:39:47 +0200
committerGitHub <noreply@github.com>2025-07-14 15:39:47 +0200
commit022cf45fff7b059baab14a97410d6bda38871e72 (patch)
tree2ac239cbb1e8024a3598fa33eb614a7b80d0a263 /src/server
parent03ed81b301f52c0f8b526e499a717343b72eb355 (diff)
parent386aa49dd2cf4a2300c7b828bc5bbd85de7b1548 (diff)
Merge pull request #745 from BradLewis/fix/builtin-path
Fix incorrect builtin path variable
Diffstat (limited to 'src/server')
-rw-r--r--src/server/build.odin4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/server/build.odin b/src/server/build.odin
index b8056fe..3cbb6f5 100644
--- a/src/server/build.odin
+++ b/src/server/build.odin
@@ -290,12 +290,12 @@ setup_index :: proc() {
root_path := os.get_env("ODIN_ROOT", context.temp_allocator)
root_builtin_path := path.join({root_path, "/base/builtin"}, context.temp_allocator)
- if !os.exists(builtin_path) {
+ if !os.exists(root_builtin_path) {
log.errorf("Failed to find the builtin folder at `%v` or `%v`", builtin_path, root_builtin_path)
return
}
- try_build_package(builtin_path)
+ try_build_package(root_builtin_path)
}
free_index :: proc() {