diff moefetch.sh @ 198:735012343a67

another escapee
author edhoprima@gmail.com <edhoprima@gmail.com>
date Mon, 29 Jun 2009 12:27:58 +0000
parents a17a2f366680
children b9b90671616a
line wrap: on
line diff
--- a/moefetch.sh	Mon Jun 29 12:24:32 2009 +0000
+++ b/moefetch.sh	Mon Jun 29 12:27:58 2009 +0000
@@ -225,8 +225,8 @@
 		#ls "../${TARGET_DIR}" | grep -vf "${TARGET_DIR}-error" > "${TARGET_DIR}-ok"
 		#
 		find "${BASE_DIR}/${SITE_DIR}/${TARGET_DIR}" | comm -1 -3 "${TEMP_PREFIX}-error" - > "${TEMP_PREFIX}-ok"
-		cat "${SITE_DIR}-${TARGET_DIR}-list" | grep -vf "${SITE_DIR}-${TARGET_DIR}-ok" > "${SITE_DIR}-${TARGET_DIR}-newlist"
-		echo "$(echo $(wc -l < "${SITE_DIR}-${TARGET_DIR}-newlist")) file(s) to be downloaded"
+		cat "${TEMP_PREFIX}-list" | grep -vf "${TEMP_PREFIX}-ok" > "${TEMP_PREFIX}-newlist"
+		echo "$(echo $(wc -l < "${TEMP_PREFIX}-newlist")) file(s) to be downloaded"
 		
 	else
 		if [ "${ISQUICK}" ]; then