changeset 164:ecc73a13549f

another whoopsie
author edhoprima@gmail.com <edhoprima@gmail.com>
date Fri, 05 Jun 2009 19:21:00 +0000
parents e2149ba6ab9c
children 9495944e326b
files moefetch.sh
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/moefetch.sh	Fri Jun 05 19:19:56 2009 +0000
+++ b/moefetch.sh	Fri Jun 05 19:21:00 2009 +0000
@@ -70,7 +70,7 @@
 	wget "http://${SITE}/post/index.xml?tags=${TAGS}&offset=0&limit=100000" -O "${SITE_DIR}-${TARGET_DIR}-xml" -e continue=off
 	echo "Processing XML file..."
 	# xslt evilry
-	xsltproc - "${TARGET_DIR}-xml" <<EOF | sed 's/.*\(http.*\)\(\/[a-f0-9]\{32\}\).*\.\([jp][pn]g\)/\1\2.\3/g' | grep ^http > "${TARGET_DIR}-list"
+	xsltproc - "${SITE_DIR}-{TARGET_DIR}-xml" <<EOF | sed 's/.*\(http.*\)\(\/[a-f0-9]\{32\}\).*\.\([jp][pn]g\)/\1\2.\3/g' | grep ^http > "${SITE_DIR}-${TARGET_DIR}-list"
 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
 <xsl:output method="xml" indent="yes"/>
 <xsl:template match="post">