Ensure files downloaded by localazy end with a new line.
This commit is contained in:
parent
a5a2caf71c
commit
7dea3c1dd2
1 changed files with 6 additions and 0 deletions
|
|
@ -40,6 +40,12 @@ fi
|
||||||
echo "Importing the strings..."
|
echo "Importing the strings..."
|
||||||
localazy download --config ./tools/localazy/localazy.json
|
localazy download --config ./tools/localazy/localazy.json
|
||||||
|
|
||||||
|
echo "Add new lines to the end of the files..."
|
||||||
|
find . -name 'localazy.xml' -print0 -exec bash -c "echo \"\" >> \"{}\"" \; >> /dev/null
|
||||||
|
if [[ $allFiles == 1 ]]; then
|
||||||
|
find . -name 'translations.xml' -print0 -exec bash -c "echo \"\" >> \"{}\"" \; >> /dev/null
|
||||||
|
fi
|
||||||
|
|
||||||
echo "Removing the generated config"
|
echo "Removing the generated config"
|
||||||
rm ./tools/localazy/localazy.json
|
rm ./tools/localazy/localazy.json
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue