From 930776dcca562b87532ffa85468a789faede9ed1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ole=20Andr=C3=A9=20Vadla=20Ravn=C3=A5s?= Date: Sat, 7 Dec 2024 16:08:16 +0100 Subject: [PATCH] compat: Create relative subproject symlinks So the source tree can be moved without breaking things. --- compat/build.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compat/build.py b/compat/build.py index 7efa7a838..c7fc371cc 100644 --- a/compat/build.py +++ b/compat/build.py @@ -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: