svn diff of update-website.sh

Archaic archaic at linuxfromscratch.org
Thu Dec 9 06:46:10 PST 2004


Found a couple of things that looked wrong. May want to look closely
before appyling this.

-- 
Archaic

You need only reflect that one of the best ways to get yourself a
reputation as a dangerous citizen these days is to go about repeating
the very phrases which our founding fathers used in the great struggle
for independence.

- Attributed to Charles Austin Beard (1874-1948)

-------------- next part --------------
Index: scripts/update-website.sh
===================================================================
--- scripts/update-website.sh	(revision 907)
+++ scripts/update-website.sh	(working copy)
@@ -3,7 +3,7 @@
 
 # Check for lock files from external scripts that touch TARGETDIR
 
-for lock in render-blfs-{book,edguide}-in-progress render-lfs-book-in-progress; do
+for lock in render-blfs-{book,edguide}-in-progress render-lfs-book-in-progress render-hlfs-book-in-progress ; do
 	while [ -f "/tmp/$lock" ]; do
 		echo "/tmp/$lock external lock file present, sleeping for 10 minutes and trying again"
 		sleep 600
@@ -49,7 +49,7 @@
 # Generate all archives
 # Add below the years to be archived
 for y in 2003 2004; do
-    for i in . lfs alfs blfs hints; do
+    for i in . lfs alfs blfs hlfs hints; do
         # "LC_ALL=C" garantees a sane localization setting
         LC_ALL=C $MANAGE_NEWS -a news/ -t $TEMPLATES/$i/archive-top.html -b $TEMPLATES/$i/archive-bottom.html -i $i/news-$y.txt
     done
@@ -104,7 +104,7 @@
 cp $TEMPLATES/hlfs/news-top.html news.html
 $MANAGE_NEWS -i news-$YEAR.txt >> news.html
 $MANAGE_NEWS -i ../news-$YEAR.txt >> news.html
-$SVNLOG $SVN/hlfs 2>/dev/null | $SVN2HTML --with-branchname >> news.html
+$SVNLOG $SVN/HLFS 2>/dev/null | $SVN2HTML --with-branchname >> news.html
 cat $TEMPLATES/hlfs/news-bottom.html >> news.html
 
 ##########################################
@@ -116,7 +116,7 @@
 $SCRIPTS/lfs2rss.pl -n news.html -r feed.rss
 cd $NEWSITE/alfs
 $SCRIPTS/lfs2rss.pl -n news.html -r feed.rss
-cd $NEWSITE/hlfs
+cd $NEWSITE/HLFS
 $SCRIPTS/lfs2rss.pl -n news.html -r feed.rss
 ##########################################
 # Create mirrors list for each section   #


More information about the website mailing list