Blame SOURCES/docbook-utils-spaces.patch

d48bc3
--- docbook-utils-0.6.14/bin/jw.in.spaces	2003-04-30 17:21:49.000000000 +0100
d48bc3
+++ docbook-utils-0.6.14/bin/jw.in	2004-08-19 09:33:34.989426640 +0100
d48bc3
@@ -405,9 +405,9 @@
d48bc3
   echo -e $SGML_HELP_MESSAGE >&2
d48bc3
   exit 1
d48bc3
 fi
d48bc3
-if [ ! -d $SGML_OUTPUT_DIRECTORY ]
d48bc3
+if [ ! -d "$SGML_OUTPUT_DIRECTORY" ]
d48bc3
 then
d48bc3
-  mkdir $SGML_OUTPUT_DIRECTORY 2>/dev/null
d48bc3
+  mkdir "$SGML_OUTPUT_DIRECTORY" 2>/dev/null
d48bc3
   if [ $? -ne 0 ]
d48bc3
   then
d48bc3
     echo "`basename $0`: Could not create \"$SGML_OUTPUT_DIRECTORY\" output directory" >&2
d48bc3
@@ -422,7 +422,7 @@
d48bc3
 echo "Using catalogs: `echo $SGML_CATALOG_FILES | sed 's/:/, /g'`"
d48bc3
 echo "Using stylesheet: $SGML_STYLESHEET"
d48bc3
 echo "Working on: $SGML_FILE"
d48bc3
-cd $SGML_OUTPUT_DIRECTORY
d48bc3
+cd "$SGML_OUTPUT_DIRECTORY"
d48bc3
 export SGML_JADE SGML_FILE_NAME SGML_ARGUMENTS
d48bc3
 export SGML_CATALOG_FILES SGML_BASE_DIR SGML_FILE SGML_STYLESHEET
d48bc3
 NOCHUNKS=`echo $SGML_OPTIONS | grep nochunks`
d48bc3
@@ -433,7 +433,7 @@
d48bc3
 	sh $SGML_BACKEND >$SGML_FILE_NAME.html
d48bc3
 fi
d48bc3
 SGML_RETURN=$?
d48bc3
-cd $SGML_CURRENT_DIRECTORY
d48bc3
+cd "$SGML_CURRENT_DIRECTORY"
d48bc3
 
d48bc3
 if [ $SGML_RETURN -gt 0 ]
d48bc3
 then exit `expr 7 + $SGML_RETURN`