Do not redirect output of commands to /dev/null.
This commit is contained in:
parent
a2a1384101
commit
89df5380fc
1 changed files with 4 additions and 4 deletions
|
|
@ -41,17 +41,17 @@ echo "Importing the strings..."
|
||||||
localazy download --config ./tools/localazy/localazy.json
|
localazy download --config ./tools/localazy/localazy.json
|
||||||
|
|
||||||
echo "Formatting the resources files..."
|
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
|
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
|
fi
|
||||||
|
|
||||||
set +e
|
set +e
|
||||||
echo "Moving files from values-id to values-in..."
|
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..."
|
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
|
set -e
|
||||||
|
|
||||||
echo "Removing the generated config"
|
echo "Removing the generated config"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue