Author: pierre
Date: Mon Nov 17 12:46:38 2014
New Revision: 3810
Log:
After generating book-html, we apply sed s@../images@images@ to the html
files. This is not OK, since that could perfectly match /*/images and change
it to just images...
Modified:
jhalfs/trunk/BLFS/gen_pkg_book.sh
Modified: jhalfs/trunk/BLFS/gen_pkg_book.sh
==============================================================================
--- jhalfs/trunk/BLFS/gen_pkg_book.sh Tue Nov 4 04:57:31 2014 (r3809)
+++ jhalfs/trunk/BLFS/gen_pkg_book.sh Mon Nov 17 12:46:38 2014 (r3810)
@@ -170,8 +170,8 @@
cp ${BLFS_XML}/images/*.png ${BookHtml}/images
fi
for ht in ${BookHtml}/*.html
- do sed -i 's@../stylesheets@stylesheets@' $ht
- sed -i 's@../images@images@' $ht
+ do sed -i 's@\.\./stylesheets@stylesheets@' $ht
+ sed -i 's@\.\./images@images@' $ht
done
echo -en "\n\tGenerating the build scripts ...\n"
rm -rf scripts
--
http://lists.linuxfromscratch.org/listinfo/alfs-log
Unsubscribe: See the above information page