Skip to content

Commit

Permalink
Load the project root based on the location of the current tool
Browse files Browse the repository at this point in the history
  • Loading branch information
puddly committed Jun 4, 2024
1 parent 559c051 commit ecdbf79
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/build_project.py
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,7 @@ def main():
manifest[key] = override

# First, load the base project
projects_root = args.manifest.parent.parent
projects_root = pathlib.Path(__file__).parent.parent
base_project_path = projects_root / manifest["base_project"]
assert base_project_path.is_relative_to(projects_root)
(base_project_slcp,) = base_project_path.glob("*.slcp")
Expand Down

0 comments on commit ecdbf79

Please sign in to comment.