From 42007a147f93f449e177a4c4eb12eb79fe1b12f3 Mon Sep 17 00:00:00 2001 From: Shubham Vishwakarma Date: Mon, 29 Sep 2025 12:39:54 +0530 Subject: [PATCH] update setup.py: make the profiles symlink relative instead of absolute make openwrt/profiles relative so moving or renaming the repo directory won't break the symlink Signed-off-by: Shubham Vishwakarma --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 9f5104ef9..20e2a7cda 100755 --- a/setup.py +++ b/setup.py @@ -87,7 +87,7 @@ def setup_tree(): for patch in patches: run(["git", "am", "-3", str(base_dir / patch)], check=True) run( - ["ln", "-s", profiles, "profiles"], check=True, + ["ln", "-rs", profiles, "profiles"], check=True, ) print("### Patches done") except: