comparison moefetch.sh @ 183:6ac80dce4b67

error *shrugs*
author edhoprima@gmail.com <edhoprima@gmail.com>
date Sun, 28 Jun 2009 13:00:07 +0000
parents d92dfe857047
children d94e789fd092
comparison
equal deleted inserted replaced
182:d92dfe857047 183:6ac80dce4b67
85 <xsl:template match="post"> 85 <xsl:template match="post">
86 <xsl:value-of select="@file_url" /> 86 <xsl:value-of select="@file_url" />
87 </xsl:template> 87 </xsl:template>
88 </xsl:stylesheet> 88 </xsl:stylesheet>
89 EOF 89 EOF
90 NUMFILES=`echo \`wc -l < \"${SITE_DIR}-${TARGET_DIR}-list\" \`` 90 NUMFILES=`echo \`wc -l < \"${BASE_DIR}/temp/${SITE_DIR}-${TARGET_DIR}-list\" \``
91 [ "${NUMFILES}" -gt 0 ] || Err_Fatal "Error in processing list or no files can be found with specified tag(s) or site" 91 [ "${NUMFILES}" -gt 0 ] || Err_Fatal "Error in processing list or no files can be found with specified tag(s) or site"
92 echo "${NUMFILES} file(s) available on server" 92 echo "${NUMFILES} file(s) available on server"
93 #output file: ${TARGET_DIR}-list 93 #output file: ${TARGET_DIR}-list
94 } 94 }
95 95