Remove blanke lines before Android SECTIONS
This commit is contained in:
parent
3a921b0774
commit
1d98d6e1cd
1 changed files with 1 additions and 1 deletions
|
@ -35,7 +35,7 @@ echo "$iphone_strings" | wc -l
|
|||
# Adapt \n to incluce a line break like Weblate does
|
||||
sed -i "" -E '/<string /s/\\n/\n\\n/g' $android_strings_xml
|
||||
# Remove blank lines before <! SECTION...
|
||||
sed -i "" -E '/^$/d' $android_strings_xml
|
||||
#sed -i "" -E '/^$/d' $android_strings_xml
|
||||
# Remove EOF newlines
|
||||
for xml_file in $android_strings_xml; do
|
||||
truncate -s -1 $xml_file
|
||||
|
|
Reference in a new issue