Browse Source

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

Robert Pelnar 5 years ago
parent
commit
ed84dfe2d6
2 changed files with 6 additions and 1 deletions
  1. 1 0
      lang/fw-clean.sh
  2. 5 1
      lang/lang-clean.sh

+ 1 - 0
lang/fw-clean.sh

@@ -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

+ 5 - 1
lang/lang-clean.sh

@@ -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