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...
This commit is contained in:
parent
82808d1b14
commit
c5650f96c7
1 changed files with 2 additions and 2 deletions
|
@ -170,8 +170,8 @@ if [ ! -d ${BookHtml}/images ]
|
|||
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
|
||||
|
|
Reference in a new issue