cvs commit: www/scripts update-website.sh

jeroen at linuxfromscratch.org jeroen at linuxfromscratch.org
Wed Nov 26 13:21:44 PST 2003


jeroen      03/11/26 14:21:44

  Modified:    scripts  update-website.sh
  Log:
  Silence tar, make the archive use absolute filenames
  
  Revision  Changes    Path
  1.7       +1 -1      www/scripts/update-website.sh
  
  Index: update-website.sh
  ===================================================================
  RCS file: /home/cvsroot/www/scripts/update-website.sh,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- update-website.sh	26 Nov 2003 20:02:57 -0000	1.6
  +++ update-website.sh	26 Nov 2003 21:21:43 -0000	1.7
  @@ -205,7 +205,7 @@
   # Everything is in place now, so replace TARGETDIR with NEWSITE
   
   cd /var/tmp
  -tar cf website-backup.tar $TARGETDIR
  +tar cPf website-backup.tar $TARGETDIR && rm -rf $TARGETDIR
   mv $NEWSITE $TARGETDIR
   mkdir -p $TARGETDIR/timestamp
   date +%s > $TARGETDIR/timestamp/timestamp
  
  
  



More information about the website mailing list