New lang, arduino 1.8.5 - fw-clean.sh and lang-clean.sh fix
This commit is contained in:
parent
3834a06dc9
commit
ed84dfe2d6
2 changed files with 6 additions and 1 deletions
|
@ -43,6 +43,7 @@ rm_if_exists update_lang.out
|
||||||
rm_if_exists update_lang_cz.out
|
rm_if_exists update_lang_cz.out
|
||||||
rm_if_exists update_lang_de.out
|
rm_if_exists update_lang_de.out
|
||||||
rm_if_exists update_lang_es.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_it.out
|
||||||
rm_if_exists update_lang_pl.out
|
rm_if_exists update_lang_pl.out
|
||||||
rm_if_exists lang.bin
|
rm_if_exists lang.bin
|
||||||
|
|
|
@ -21,16 +21,20 @@ rm_if_exists()
|
||||||
|
|
||||||
clean_lang()
|
clean_lang()
|
||||||
{
|
{
|
||||||
if [ "$1" = "en" ]; then
|
if [ "$1" == "en" ]; then
|
||||||
rm_if_exists lang_$1.tmp
|
rm_if_exists lang_$1.tmp
|
||||||
else
|
else
|
||||||
|
rm_if_exists lang_$1.tmp
|
||||||
rm_if_exists lang_en_$1.tmp
|
rm_if_exists lang_en_$1.tmp
|
||||||
rm_if_exists lang_en_$1.dif
|
rm_if_exists lang_en_$1.dif
|
||||||
rm_if_exists lang_$1.ofs
|
rm_if_exists lang_$1.ofs
|
||||||
rm_if_exists lang_$1.txt
|
rm_if_exists lang_$1.txt
|
||||||
fi
|
fi
|
||||||
|
rm_if_exists lang_$1_check.dif
|
||||||
rm_if_exists lang_$1.bin
|
rm_if_exists lang_$1.bin
|
||||||
rm_if_exists lang_$1.dat
|
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
|
echo "lang-clean.sh started" >&2
|
||||||
|
|
Loading…
Reference in a new issue