Do not redirect output of commands to /dev/null.
This commit is contained in:
parent
3872085f81
commit
a4207d9bc9
1 changed files with 4 additions and 4 deletions
|
|
@ -41,17 +41,17 @@ echo "Importing the strings..."
|
|||
localazy download --config ./tools/localazy/localazy.json
|
||||
|
||||
echo "Formatting the resources files..."
|
||||
find . -name 'localazy.xml' -exec ./tools/localazy/formatXmlResourcesFile.py {} \; >> /dev/null
|
||||
find . -name 'localazy.xml' -exec ./tools/localazy/formatXmlResourcesFile.py {} \;
|
||||
if [[ $allFiles == 1 ]]; then
|
||||
find . -name 'translations.xml' -exec ./tools/localazy/formatXmlResourcesFile.py {} \; >> /dev/null
|
||||
find . -name 'translations.xml' -exec ./tools/localazy/formatXmlResourcesFile.py {} \;
|
||||
fi
|
||||
|
||||
set +e
|
||||
echo "Moving files from values-id to values-in..."
|
||||
find . -type d -name 'values-id' -execdir mv {}/translations.xml {}/../values-in/translations.xml 2> /dev/null \;
|
||||
find . -type d -name 'values-id' -execdir mv {}/translations.xml {}/../values-in/translations.xml \;
|
||||
|
||||
echo "Deleting all the folders values-id..."
|
||||
find . -type d -name 'values-id' -exec rm -rf {} 2> /dev/null \;
|
||||
find . -type d -name 'values-id' -exec rm -rf {} \;
|
||||
set -e
|
||||
|
||||
echo "Removing the generated config"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue