as part of normalization, remove empty lines in card script

master
melvin 2013-11-11 11:14:40 +08:00
parent 1888fd8532
commit 376f88e5ef
1 changed files with 2 additions and 0 deletions

View File

@ -617,6 +617,8 @@ normalize_files:
sed -i -e 's/\x0D$$//' ${FILES}
# convert tab to four spaces
sed -i -e 's/\t/ /g' ${FILES}
# remove empty lines in scripts
sed -i -e '/^\s*$$/d' release/Magarena/scripts/*.txt
%.post:
@echo "[img]"`grep -o "http.*jpg" release/Magarena/scripts/$*.txt`"[/img]"