diff moefetch.sh @ 192:47efb7a23425

blargh. It's getting annoying
author edhoprima@gmail.com <edhoprima@gmail.com>
date Sun, 28 Jun 2009 17:20:46 +0000
parents a4ceb952b05a
children ac6533a8fb51
line wrap: on
line diff
--- a/moefetch.sh	Sun Jun 28 17:18:41 2009 +0000
+++ b/moefetch.sh	Sun Jun 28 17:20:46 2009 +0000
@@ -163,7 +163,7 @@
 			if [ "$(echo "${FILE}" | sed -e 's/.*\/\([\^\/]*\)/\1/g;s/\([0-9a-f]\{32\}.*\)//g' | grep -v ^$)" ]; then
 				ISTRASH=1
 			else
-				[ "$(cat "${BASE_DIR}/temp/${TARGET_DIR}-list" | sed -e 's/.*\/\([^\/]*\)/\1/g' | grep $(echo "${TRASH}" | sed -e 's/.*\/\([^\/]*\)/\1/g'))" ] || ISTRASH=1
+				[ "$(cat "${BASE_DIR}/temp/${SITE_DIR}-${TARGET_DIR}-list" | sed -e 's/.*\/\([^\/]*\)/\1/g' | grep $(echo "${TRASH}" | sed -e 's/.*\/\([^\/]*\)/\1/g'))" ] || ISTRASH=1
 			fi
 		fi
 		if [ "${ISTRASH}" ]; then