Mercurial > ec-dotfiles
diff moefetch.sh @ 222:e3fb9507cf7f
most bugs fixed now
author | edhoprima@gmail.com <edhoprima@gmail.com> |
---|---|
date | Thu, 02 Jul 2009 20:37:41 +0000 |
parents | e891b563b797 |
children | 04ad0b0a3c63 |
line wrap: on
line diff
--- a/moefetch.sh Thu Jul 02 20:33:48 2009 +0000 +++ b/moefetch.sh Thu Jul 02 20:37:41 2009 +0000 @@ -204,7 +204,7 @@ has_trash=1 mv -f "${trash}" "${trash_dir}" || Err_Impossible trashes="${trashes} -$(basename "${trash}")" + $(basename "${trash}")" fi Progress_Anim done @@ -230,7 +230,7 @@ if test "${file}" != "${BASE_DIR}/${SITE_DIR}/${TARGET_DIR}/*"; then if test -n "$(Is_NotMD5 "$(basename "${file}")")" || test -d "${file}"; then files_notdanbooru="${files_notdanbooru} - $(basename "${file}")" + $(basename "${file}")" has_err_filename=1 else if test "$(${MD5} "${file}" | cut -d ' ' -f 1)" = "$(basename "${file}" | cut -d '.' -f 1)"; then @@ -239,7 +239,7 @@ rm "${file}" || Err_Fatal "Error removing ${file}" echo "$(basename "${file}")" >> "${TEMP_PREFIX}-error" files_error="${files_error} - $(basename "${file}")" + $(basename "${file}")" has_err_md5=1 fi fi