Pier Angelo Vendrame pushed to branch main at The Tor Project / Applications /
tor-browser-build
Commits:
646639f8 by Pier Angelo Vendrame at 2026-05-19T14:53:25+02:00
Bug 41801: Hardlink artifacts in fix_gradle_deps.py.
- - - - -
1 changed file:
- tools/fix_gradle_deps.py
Changes:
=====================================
tools/fix_gradle_deps.py
=====================================
@@ -61,8 +61,11 @@ for u, h in pairs:
if not p.exists():
p.parent.mkdir(parents=True, exist_ok=True)
if p in existing:
- print(f"Copying {p} from {existing[p]}")
- shutil.copyfile(existing[p], p)
+ print(f"Copying/linking {p} from {existing[p]}")
+ try:
+ os.link(existing[p], p)
+ except OSError:
+ shutil.copyfile(existing[p], p)
else:
print(f"Downloading {u}")
r = requests.get(u)
View it on GitLab:
https://gitlab.torproject.org/tpo/applications/tor-browser-build/-/commit/646639f8228794daffc38007ae09c997ea693c56
--
View it on GitLab:
https://gitlab.torproject.org/tpo/applications/tor-browser-build/-/commit/646639f8228794daffc38007ae09c997ea693c56
You're receiving this email because of your account on gitlab.torproject.org.
Manage all notifications: https://gitlab.torproject.org/-/profile/notifications
| Help: https://gitlab.torproject.org/help
_______________________________________________
tbb-commits mailing list -- [email protected]
To unsubscribe send an email to [email protected]