Skip to content

Commit

Permalink
compat: Create relative subproject symlinks
Browse files Browse the repository at this point in the history
So the source tree can be moved without breaking things.
  • Loading branch information
oleavr committed Dec 7, 2024
1 parent 7a38663 commit 930776d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compat/build.py
Original file line number Diff line number Diff line change
Expand Up @@ -604,7 +604,7 @@ def grab_subprojects_from_parent(subprojects: dict[str, Path], releng_location:
continue

try:
subp_here.symlink_to(location, target_is_directory=True)
subp_here.symlink_to(Path("..") / ".." / name, target_is_directory=True)
continue
except OSError as e:
if not getattr(e, "winerror", None) == 1314:
Expand Down

0 comments on commit 930776d

Please sign in to comment.