cvs commit: www/scripts update-website.sh

lizardo at linuxfromscratch.org lizardo at linuxfromscratch.org
Fri Jul 9 18:51:00 PDT 2004


lizardo     04/07/09 19:51:00

  Modified:    scripts  update-website.sh
  Log:
  Updated update-website.sh to reflect ALFS Subversion migration.
  
  Revision  Changes    Path
  1.23      +2 -7      www/scripts/update-website.sh
  
  Index: update-website.sh
  ===================================================================
  RCS file: /home/cvsroot/www/scripts/update-website.sh,v
  retrieving revision 1.22
  retrieving revision 1.23
  diff -u -r1.22 -r1.23
  --- update-website.sh	26 Jun 2004 19:33:54 -0000	1.22
  +++ update-website.sh	10 Jul 2004 01:51:00 -0000	1.23
  @@ -36,7 +36,6 @@
   cd $TMPCVS
   
   cvs -Q co BLFS/BOOK && export BLFS="$TMPCVS/BLFS/BOOK"
  -cvs -Q co ALFS && export ALFS="$TMPCVS/ALFS"
   cvs -Q co hints && export HINTS="$TMPCVS/hints"
   cvs -Q co patches && export PATCHES="$TMPCVS/patches"
   cvs -Q co www && export WWW="$TMPCVS/www"
  @@ -52,7 +51,7 @@
   ##############################################
   # Generate all changelogs for the news pages #
   
  -for i in "$BLFS/" "$ALFS" "$HINTS/" "$PATCHES/" "$WWW"
  +for i in "$BLFS/" "$HINTS/" "$PATCHES/" "$WWW"
   	do cd $i
   	$SCRIPTS/cvs2cl.pl -P -U $WWW/usermap --xml -l "-d'1 month ago<today'"
   done
  @@ -125,11 +124,7 @@
   cp $TEMPLATES/alfs/news-top.html news.html
   $MANAGE_NEWS -i news-$YEAR.txt >> news.html
   $MANAGE_NEWS -i ../news-$YEAR.txt >> news.html
  -if [ -f $ALFS/ChangeLog ]; then
  -    $CL2HTML --with-branchname --infile $ALFS/ChangeLog >> news.html
  -else
  -    echo "<p>No changes were made recently.</p>" >> news.html
  -fi
  +$SVNLOG $SVN/ALFS 2>/dev/null | $SVN2HTML --with-branchname >> news.html
   cat $TEMPLATES/alfs/news-bottom.html >> news.html
   
   ##########################################
  
  
  



More information about the website mailing list