diff --git a/Scripts/Bash/Functions/Render/Docbook/docbook_convertToXhtml.sh b/Scripts/Bash/Functions/Render/Docbook/docbook_convertToXhtml.sh index ef43286..93a86a3 100755 --- a/Scripts/Bash/Functions/Render/Docbook/docbook_convertToXhtml.sh +++ b/Scripts/Bash/Functions/Render/Docbook/docbook_convertToXhtml.sh @@ -51,7 +51,7 @@ function docbook_convertToXhtml { # Prepare XSL final instances used in transformations. docbook_prepareStyles $(cli_getFilesList \ - ${DOCBOOK_XSL} --pattern='.*docbook2xhtml-(single|common)\.xsl') + ${DOCBOOK_XSL} --pattern='^.*/docbook2xhtml-(single|common)\.xsl$') # Transform DocBook XML to XHTML supressing all stderr output. xsltproc --output ${DST} ${STYLE_INSTANCE_FINAL} ${SRC} &> /dev/null