mirror of
https://github.com/Telecominfraproject/wlan-ap.git
synced 2025-10-29 09:32:34 +00:00
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 <shubhamvis98@fossfrog.in>
This commit is contained in:
committed by
John Crispin
parent
d1e18425b0
commit
42007a147f
2
setup.py
2
setup.py
@@ -87,7 +87,7 @@ def setup_tree():
|
|||||||
for patch in patches:
|
for patch in patches:
|
||||||
run(["git", "am", "-3", str(base_dir / patch)], check=True)
|
run(["git", "am", "-3", str(base_dir / patch)], check=True)
|
||||||
run(
|
run(
|
||||||
["ln", "-s", profiles, "profiles"], check=True,
|
["ln", "-rs", profiles, "profiles"], check=True,
|
||||||
)
|
)
|
||||||
print("### Patches done")
|
print("### Patches done")
|
||||||
except:
|
except:
|
||||||
|
|||||||
Reference in New Issue
Block a user