Fixed path for updating l10n hashes

Signed-off-by: mr. m  <91018726+mauro-balades@users.noreply.github.com>
This commit is contained in:
mr. m
2025-03-29 21:23:55 +01:00
committed by GitHub
parent 59b36847f6
commit 923b049b85

View File

@@ -61,7 +61,7 @@ def update_l10n_last_commit_hash():
L10N_REPO = "https://github.com/mozilla-l10n/firefox-l10n"
try:
os.system(f"git clone {L10N_REPO} l10n-temp --depth 1")
if not os.path.exists("firefox-cache"):
if not os.path.exists("build/firefox-cache"):
os.mkdir("build/firefox-cache")
os.system("cat l10n-temp/.git/refs/heads/main > build/firefox-cache/l10n-last-commit-hash")
# Remove new line character