r451 - scripts/trunk

lizardo at linuxfromscratch.org lizardo at linuxfromscratch.org
Wed Jul 13 13:42:13 PDT 2005


Author: lizardo
Date: 2005-07-13 14:42:13 -0600 (Wed, 13 Jul 2005)
New Revision: 451

Modified:
   scripts/trunk/update-website.mk
Log:
update-website.mk: added "mv -f" before "cp -p", so timestamp keeping always
succeeds.


Modified: scripts/trunk/update-website.mk
===================================================================
--- scripts/trunk/update-website.mk	2005-07-13 20:08:55 UTC (rev 450)
+++ scripts/trunk/update-website.mk	2005-07-13 20:42:13 UTC (rev 451)
@@ -132,10 +132,12 @@
 error-pages: /home/httpd/error/403.html /home/httpd/error/404.html
 
 /home/httpd/error/40%.html: 40%.html
+	mv -f $@ $@.old
 	cp -p $< $@
 
 # Copy Swish-e template
 /home/httpd/search.linuxfromscratch.org/swish.tmpl: $(TEMPLATES)/swish.tmpl
+	mv -f $@ $@.old
 	cp -p $< $@
 
 # Validate XHTML files




More information about the website mailing list