From 386aa49dd2cf4a2300c7b828bc5bbd85de7b1548 Mon Sep 17 00:00:00 2001 From: Brad Lewis <22850972+BradLewis@users.noreply.github.com> Date: Mon, 14 Jul 2025 08:59:51 -0400 Subject: Fix incorrect builtin path variable --- src/server/build.odin | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/server') 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() { -- cgit v1.2.3