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 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