New lang, arduino 1.8.5 - fw-clean.sh and lang-clean.sh fix

This commit is contained in:
Robert Pelnar 2018-10-18 13:08:12 +02:00
parent 3834a06dc9
commit ed84dfe2d6
2 changed files with 6 additions and 1 deletions

View File

@ -43,6 +43,7 @@ rm_if_exists update_lang.out
rm_if_exists update_lang_cz.out
rm_if_exists update_lang_de.out
rm_if_exists update_lang_es.out
rm_if_exists update_lang_fr.out
rm_if_exists update_lang_it.out
rm_if_exists update_lang_pl.out
rm_if_exists lang.bin

View File

@ -21,16 +21,20 @@ rm_if_exists()
clean_lang()
{
if [ "$1" = "en" ]; then
if [ "$1" == "en" ]; then
rm_if_exists lang_$1.tmp
else
rm_if_exists lang_$1.tmp
rm_if_exists lang_en_$1.tmp
rm_if_exists lang_en_$1.dif
rm_if_exists lang_$1.ofs
rm_if_exists lang_$1.txt
fi
rm_if_exists lang_$1_check.dif
rm_if_exists lang_$1.bin
rm_if_exists lang_$1.dat
rm_if_exists lang_$1_1.tmp
rm_if_exists lang_$1_2.tmp
}
echo "lang-clean.sh started" >&2