diff --git a/stylesheets/dump-commands.xsl b/stylesheets/dump-commands.xsl
index 9e2af96e4..48af34c20 100644
--- a/stylesheets/dump-commands.xsl
+++ b/stylesheets/dump-commands.xsl
@@ -7,7 +7,8 @@
-
+
+
diff --git a/stylesheets/lfs-xsl/pdf.xsl b/stylesheets/lfs-xsl/pdf.xsl
index 4028a19ea..679f73b84 100644
--- a/stylesheets/lfs-xsl/pdf.xsl
+++ b/stylesheets/lfs-xsl/pdf.xsl
@@ -1,4 +1,4 @@
-
+
-
+ See pdf/lfs-mixed.xsl.
+ Note: the argument in select= is a zero-width space
+ (unicode 200b, encoded in utf-8)-->
+
+ |
diff --git a/stylesheets/md5sum.xsl b/stylesheets/md5sum.xsl
index 617bd4aa9..bb7268276 100644
--- a/stylesheets/md5sum.xsl
+++ b/stylesheets/md5sum.xsl
@@ -1,6 +1,6 @@
-
+
-
+
@@ -31,7 +31,8 @@
-
+
+
@@ -55,4 +56,3 @@
-
diff --git a/stylesheets/patcheslist.xsl b/stylesheets/patcheslist.xsl
index d86d1814d..f863edc1f 100644
--- a/stylesheets/patcheslist.xsl
+++ b/stylesheets/patcheslist.xsl
@@ -1,4 +1,4 @@
-
+
%general-entities;
@@ -22,26 +22,30 @@ function copy
cp $1 $2 >>copyerrs 2>&1
}
-umask 002
+umask 002
-
- install -d -m 775 -g lfswww
+# Create dest.dir if it doesn't exist
+# Remove old patches
+# Copy the patches
+# Ensure correct ownership
+install -d -m 775 -g lfswww
- &&
- cd
+ &&
+cd
- &&
-
- rm -f *.patch copyerrs &&
+ &&
+rm -f *.patch copyerrs &&
+
+
-
-
chgrp lfswww *.patch &&
+chgrp lfswww *.patch &&
if [ `wc -l copyerrs | sed 's/ *//' | cut -f1 -d' '` -gt 0 ]; then
mail -s "Missing LFS patches" lfs-book@lists.linuxfromscratch.org < copyerrs
-fi
+fi
- exit
+exit
+
@@ -59,10 +63,11 @@ fi
copy /srv/www/www.linuxfromscratch.org/patches/downloads/
-
+
/
- .
+ .
+
diff --git a/stylesheets/wget-list.xsl b/stylesheets/wget-list.xsl
index 62a518d38..f280fb36c 100644
--- a/stylesheets/wget-list.xsl
+++ b/stylesheets/wget-list.xsl
@@ -28,7 +28,8 @@
-
+
+