aboutsummaryrefslogtreecommitdiff
path: root/src/server
diff options
context:
space:
mode:
authorBrad Lewis <22850972+BradLewis@users.noreply.github.com>2025-07-14 08:59:51 -0400
committerBrad Lewis <22850972+BradLewis@users.noreply.github.com>2025-07-14 08:59:51 -0400
commit386aa49dd2cf4a2300c7b828bc5bbd85de7b1548 (patch)
tree2ac239cbb1e8024a3598fa33eb614a7b80d0a263 /src/server
parent03ed81b301f52c0f8b526e499a717343b72eb355 (diff)
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() {