[update-www] Website update script failed on Tue Jun 14 10:20:41 MDT 2005

Jeremy Huntwork jhuntwork at linuxfromscratch.org
Tue Jun 14 09:20:41 PDT 2005


Command: /home/lizardo/scripts/update-website-hook.sh /home/svn/repositories/www2 261 update-www

svn -q update /home/lizardo/website-repos -r 261
svn -q update /home/lizardo/website-repos/scripts -r 261
mkdir -p logs
svn log --verbose --xml svn://svn.linuxfromscratch.org/www2 2>/dev/null | /home/lizardo/website-repos/scripts/svn2html.pl --with-branchname > logs/www2.html.tmp
cmp -s logs/www2.html.tmp logs/www2.html || cp logs/www2.html.tmp logs/www2.html
rm logs/www2.html.tmp
# The following is temporary until news items sorted out
for i in logs/* ; do name=`echo $i | \
sed 's at logs/\(.*\).html@\1@'` && lcname=`echo $name | tr '[A-Z]''[a-z]'` && \
if [ $name != "www2" ] ; then \
echo "<!--#set var=\"pageTitle\" value=\"$name News\" -->" > $lcname/news.html && \
echo "<!--#include virtual="header.html" -->" >> $lcname/news.html && \
echo "<!--#include virtual="menu.html" -->" >> $lcname/news.html && \
echo "<div class=\"main\">" >> $lcname/news.html && \
echo "<h1>$name News</h1>" >> $lcname/news.html && \
cat $i >> $lcname/news.html && \
echo "<!--#include virtual=\"/common/footer.html\" -->" >> $lcname/news.html && \
chmod 755 $lcname/news.html ; fi ; done
tr: two strings must be given when translating
tr: two strings must be given when translating
tr: two strings must be given when translating
tr: two strings must be given when translating
tr: two strings must be given when translating
tr: two strings must be given when translating
tr: two strings must be given when translating
make: *** [svnlog-www2] Error 1

real	0m9.427s
user	0m0.380s
sys	0m0.120s



More information about the website mailing list