aboutsummaryrefslogtreecommitdiff
path: root/src/server
diff options
context:
space:
mode:
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() {