Browse Source

Delete config sooner in the script.

It will give more visibility on errors if any.
pull/2686/head
Benoit Marty 5 months ago committed by Benoit Marty
parent
commit
7a5c8b8053
  1. 6
      tools/localazy/downloadStrings.sh

6
tools/localazy/downloadStrings.sh

@ -40,6 +40,9 @@ fi @@ -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 @@ -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!"

Loading…
Cancel
Save