Delete config sooner in the script.
It will give more visibility on errors if any.
This commit is contained in:
parent
045402cf18
commit
d9957a4d25
1 changed files with 3 additions and 3 deletions
|
|
@ -40,6 +40,9 @@ fi
|
||||||
echo "Importing the strings..."
|
echo "Importing the strings..."
|
||||||
localazy download --config ./tools/localazy/localazy.json
|
localazy download --config ./tools/localazy/localazy.json
|
||||||
|
|
||||||
|
echo "Removing the generated config"
|
||||||
|
rm ./tools/localazy/localazy.json
|
||||||
|
|
||||||
echo "Formatting the resources files..."
|
echo "Formatting the resources files..."
|
||||||
find . -name 'localazy.xml' -exec ./tools/localazy/formatXmlResourcesFile.py {} \;
|
find . -name 'localazy.xml' -exec ./tools/localazy/formatXmlResourcesFile.py {} \;
|
||||||
if [[ $allFiles == 1 ]]; then
|
if [[ $allFiles == 1 ]]; then
|
||||||
|
|
@ -60,7 +63,4 @@ if [[ $allFiles == 1 ]]; then
|
||||||
find . -name 'translations.xml' -exec ./tools/localazy/checkForbiddenTerms.py {} \;
|
find . -name 'translations.xml' -exec ./tools/localazy/checkForbiddenTerms.py {} \;
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo "Removing the generated config"
|
|
||||||
rm ./tools/localazy/localazy.json
|
|
||||||
|
|
||||||
echo "Success!"
|
echo "Success!"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue