Mercurial > ec-dotfiles
diff moefetch.sh @ 171:ba4ea5d19d2b
wat
author | edhoprima@gmail.com <edhoprima@gmail.com> |
---|---|
date | Fri, 05 Jun 2009 19:55:53 +0000 |
parents | 0d385f77bb24 |
children | 30de37b6fe47 |
line wrap: on
line diff
--- a/moefetch.sh Fri Jun 05 19:52:21 2009 +0000 +++ b/moefetch.sh Fri Jun 05 19:55:53 2009 +0000 @@ -145,7 +145,7 @@ cd "${BASE_DIR}/${SITE_DIR}/${TARGET_DIR}" for TRASH in `ls * | sed -e 's/\([0-9a-f]\{32\}.*\)//g' | grep -v ^$` do - mv -f "${TRASH}" "${BASE_DIR}/trash" || Err_Fatal "Error deleting files" + mv -f ${TRASH} ${BASE_DIR}/trash || Err_Fatal "Error deleting files" echo "Moved ${TRASH} to ${BASE_DIR}/trash" done printf "" > "${BASE_DIR}/temp/${SITE_DIR}-${TARGET_DIR}-error"