cvs commit: www/scripts update-website.sh

jeroen at linuxfromscratch.org jeroen at linuxfromscratch.org
Mon Apr 26 10:54:05 PDT 2004


jeroen      04/04/26 11:54:05

  Modified:    scripts  update-website.sh
  Log:
  Add maxdepth to XML validation for the website to allow non-valid HTML attachments in the hints
  
  Revision  Changes    Path
  1.18      +1 -1      www/scripts/update-website.sh
  
  Index: update-website.sh
  ===================================================================
  RCS file: /home/cvsroot/www/scripts/update-website.sh,v
  retrieving revision 1.17
  retrieving revision 1.18
  diff -u -r1.17 -r1.18
  --- update-website.sh	16 Apr 2004 23:04:31 -0000	1.17
  +++ update-website.sh	26 Apr 2004 17:54:05 -0000	1.18
  @@ -187,7 +187,7 @@
   
   # Validate all XHTML files 
   
  -for file in $(find $NEWSITE/ -name \*.html -print); do
  +for file in $(find $NEWSITE/ -name \*.html -maxdepth 3 -print); do
   	xmllint --valid --noout $file
   	if [ $? != 0 ]; then
   		# Something is wrong, going to clean up our files in /tmp
  
  
  



More information about the website mailing list