changeset 364:32a5a3a88f0a misc

Do not hardcode http:// to the URL.
author Matti Hamalainen <ccr@tnsp.org>
date Mon, 30 Mar 2020 10:54:27 +0300
parents 0b12af2c103a
children 59b819986fd0
files update-xml-to-html.sh
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/update-xml-to-html.sh	Mon Mar 30 10:53:33 2020 +0300
+++ b/update-xml-to-html.sh	Mon Mar 30 10:54:27 2020 +0300
@@ -2,7 +2,7 @@
 XML="$1"
 HTML=`echo "$XML"|sed "s/\.xml$/.html/"`
 echo "Converting $XML to $HTML ..."
-xsltproc --stringparam html.stylesheet "http://tnsp.org/~ccr/ggrtf/html/manual.css" \
+xsltproc --stringparam html.stylesheet "/~ccr/ggrtf/html/manual.css" \
 	--output "$HTML" \
 	/usr/share/xml/docbook/stylesheet/nwalsh/xhtml/docbook.xsl "$XML" &&	\
 	tidy -w 200 -utf8 -asxhtml -i -m "$HTML"