comparison moefetch.sh @ 208:92505dfbb346

fix
author edhoprima@gmail.com <edhoprima@gmail.com>
date Mon, 29 Jun 2009 17:13:50 +0000
parents 17d816a63b4c
children dbbc4759c285
comparison
equal deleted inserted replaced
207:17d816a63b4c 208:92505dfbb346
216 else 216 else
217 if [ "$(${MD5} "${FILE}" | cut -d ' ' -f1 -)" != "$(echo "${FILE}" | sed -e "${SED_GET_FILENAME}" | cut -d '.' -f1)" ] 217 if [ "$(${MD5} "${FILE}" | cut -d ' ' -f1 -)" != "$(echo "${FILE}" | sed -e "${SED_GET_FILENAME}" | cut -d '.' -f1)" ]
218 then 218 then
219 echo "${FILE}" >> "${TEMP_PREFIX}-error" 219 echo "${FILE}" >> "${TEMP_PREFIX}-error"
220 echo 220 echo
221 echo "Error: $(echo "${FILE}" | sed -e "${SED_GET_FILENAME}")" 221 printf "\nError: $(echo "${FILE}" | sed -e "${SED_GET_FILENAME}")\n${_last}"
222 fi 222 fi
223 Progress_Anim 223 Progress_Anim
224 fi 224 fi
225 done 225 done
226 Progress_Done 226 Progress_Done