Package: debian-installer
Version: 20160106
Tags: patch

Hello,

When I run build.sh in debian-installer/doc/devel/internals without
xsltproc installed, the script errors out because it cannot find the
'please' command. This is due to the semicolon in the echo strings.

josh@z620:~/code/debian-installer/doc/devel/internals$ ./build.sh
xsltproc not found
./build.sh: 14: ./build.sh: please: not found

I have attached a patch for this issue which places double quotes around
the echo strings.

Best,
Josh Gadeken
Hewlett Packard Enterprise
diff --git a/doc/devel/internals/build.sh b/doc/devel/internals/build.sh
index 712172b..d7cec50 100755
--- a/doc/devel/internals/build.sh
+++ b/doc/devel/internals/build.sh
@@ -7,10 +7,10 @@ if [ -n "$xsltproc" ] ; then
     if [ -e "$stylesheet" ]; then
 	$xsltproc --xinclude style-html.xsl internals.xml
     else
-	echo stylesheet missing; please install the docbook-xsl Debian package
+	echo "stylesheet missing; please install the docbook-xsl Debian package"
 	exit 1
     fi
 else
-    echo xsltproc not found; please install the xsltproc Debian package
+    echo "xsltproc not found; please install the xsltproc Debian package"
     exit 1
 fi

Reply via email to