Delete config sooner in the script.

It will give more visibility on errors if any.
This commit is contained in:
Benoit Marty 2024-04-10 12:15:45 +02:00 committed by Benoit Marty
parent bd7db569f4
commit 7a5c8b8053

View file

@ -40,6 +40,9 @@ fi
echo "Importing the strings..."
localazy download --config ./tools/localazy/localazy.json
echo "Removing the generated config"
rm ./tools/localazy/localazy.json
echo "Formatting the resources files..."
find . -name 'localazy.xml' -exec ./tools/localazy/formatXmlResourcesFile.py {} \;
if [[ $allFiles == 1 ]]; then
@ -60,7 +63,4 @@ if [[ $allFiles == 1 ]]; then
find . -name 'translations.xml' -exec ./tools/localazy/checkForbiddenTerms.py {} \;
fi
echo "Removing the generated config"
rm ./tools/localazy/localazy.json
echo "Success!"