r865 - trunk/scripts

lizardo at linuxfromscratch.org lizardo at linuxfromscratch.org
Sat Oct 30 14:49:39 PDT 2004


Author: lizardo
Date: 2004-10-30 15:49:37 -0600 (Sat, 30 Oct 2004)
New Revision: 865

Modified:
   trunk/scripts/update-website.mk
Log:
Fixed bug on update-website.mk



Modified: trunk/scripts/update-website.mk
===================================================================
--- trunk/scripts/update-website.mk	2004-10-30 21:35:08 UTC (rev 864)
+++ trunk/scripts/update-website.mk	2004-10-30 21:49:37 UTC (rev 865)
@@ -54,12 +54,12 @@
 svn-checkout:
 # The setgid bit on dirs forces all files under it to have the same group of
 # TARGETDIR
-	mkdir -m 2755 $(TARGETDIR)
+	mkdir -m 2755 -p $(TARGETDIR)
 	chgrp lfswww $(TARGETDIR)
 	svn -q checkout $(SVN)/www/trunk $(TARGETDIR)
-	mkdir $(TARGETDIR)/patches/downloads
+	mkdir -p $(TARGETDIR)/patches/downloads
 	svn -q checkout $(SVN)/patches/trunk $(TARGETDIR)/patches/downloads
-	mkdir $(TARGETDIR)/hints/downloads/files
+	mkdir -p $(TARGETDIR)/hints/downloads/files
 	svn -q checkout $(SVN)/hints/trunk $(TARGETDIR)/hints/downloads/files
 	ln -s files/ATTACHMENTS $(TARGETDIR)/hints/downloads/attachments
 # Add some compatibility symlinks




More information about the website mailing list