From d9957a4d25446aa44b3c0319f6b4de1d1264d133 Mon Sep 17 00:00:00 2001 From: Benoit Marty Date: Wed, 10 Apr 2024 12:15:45 +0200 Subject: [PATCH] Delete config sooner in the script. It will give more visibility on errors if any. --- tools/localazy/downloadStrings.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tools/localazy/downloadStrings.sh b/tools/localazy/downloadStrings.sh index 8c3ba8ff92..a447a5c16f 100755 --- a/tools/localazy/downloadStrings.sh +++ b/tools/localazy/downloadStrings.sh @@ -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!"