Bug 1870874 - use expanduser() when comparing extension paths in bootstrap.py r=firefox-build-system-reviewers,glandium

Differential Revision: https://phabricator.services.mozilla.com/D196994
This commit is contained in:
Michael Froman
2023-12-21 16:31:06 +00:00
parent 20e0d10f09
commit 892c6bfe2c

View File

@@ -205,7 +205,7 @@ def check_for_hgrc_state_dir_mismatch(state_dir):
state_dir_from_hgrc = Path(match.group(1))
extension_suffix = match.group(2)
if state_dir != state_dir_from_hgrc:
if state_dir != state_dir_from_hgrc.expanduser():
expected_extension_path = state_dir / extension_suffix
mismatched_paths.append(