From 923b049b857c0b8e3e735514deb87a73815cbced Mon Sep 17 00:00:00 2001 From: "mr. m" <91018726+mauro-balades@users.noreply.github.com> Date: Sat, 29 Mar 2025 21:23:55 +0100 Subject: [PATCH 1/2] Fixed path for updating l10n hashes Signed-off-by: mr. m <91018726+mauro-balades@users.noreply.github.com> --- scripts/update_ff.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/update_ff.py b/scripts/update_ff.py index f8e5bc7ec..0acb6e9e0 100644 --- a/scripts/update_ff.py +++ b/scripts/update_ff.py @@ -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 From 7b18c407812e644e729e87ea5eed67abea870404 Mon Sep 17 00:00:00 2001 From: "mr. m" <91018726+mauro-balades@users.noreply.github.com> Date: Sat, 29 Mar 2025 21:24:17 +0100 Subject: [PATCH 2/2] Fixed fetching l10n from mozilla Signed-off-by: mr. m <91018726+mauro-balades@users.noreply.github.com> --- scripts/download-language-packs.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/download-language-packs.sh b/scripts/download-language-packs.sh index 4363c6f21..2c4b929d2 100644 --- a/scripts/download-language-packs.sh +++ b/scripts/download-language-packs.sh @@ -7,7 +7,7 @@ git config --global fetch.prune true cd $CURRENT_DIR -LAST_FIREFOX_L10N_COMMIT=$(cat ./firefox-cache/l10n-last-commit-hash) +LAST_FIREFOX_L10N_COMMIT=$(cat ./build/firefox-cache/l10n-last-commit-hash) cd ./l10n rm -rf firefox-l10n