Skip to content

Commit

Permalink
fix rust module build directory loop
Browse files Browse the repository at this point in the history
  • Loading branch information
dintorf committed Jun 3, 2024
1 parent 7f3e4ff commit afb125d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion setup
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,8 @@ def build_and_copy_rust_modules(args: Dict[str, Any]) -> bool:

os.chdir(RS_DIRECTORY)
for project in filter(
lambda f: os.path.isdir(f) and f != "rsmgp-sys", os.listdir(RS_DIRECTORY)
lambda f: os.path.isdir(os.path.join(RS_DIRECTORY, f)) and f != "rsmgp-sys",
os.listdir(RS_DIRECTORY),
):
project_dir = os.path.join(RS_DIRECTORY, project)
os.chdir(project_dir)
Expand Down

0 comments on commit afb125d

Please sign in to comment.