d48bc3
diff -urNp docbook-utils-0.6.14-orig/bin/jw.in docbook-utils-0.6.14/bin/jw.in
d48bc3
--- docbook-utils-0.6.14-orig/bin/jw.in	2010-09-28 18:18:39.567895321 +0200
d48bc3
+++ docbook-utils-0.6.14/bin/jw.in	2010-09-28 18:23:25.849756994 +0200
d48bc3
@@ -80,9 +80,9 @@ SGML_BASE_DIR="@prefix@/share/sgml"
d48bc3
 SGML_CATALOGS_DIR="/etc/sgml"
d48bc3
 if [ -f "$SGML_CONF" ]
d48bc3
 then
d48bc3
-  RE='^[:space:]*SGML_BASE_DIR[:space:]*=[:space:]*'
d48bc3
+  RE='^[[:space:]]*SGML_BASE_DIR[[:space:]]*=[[:space:]]*'
d48bc3
   SGML_BASE_DIR=`grep --color=never $RE $SGML_CONF | sed "s/$RE//"`
d48bc3
-  RE='^[:space:]*SGML_CATALOGS_DIR[:space:]*=[:space:]*'
d48bc3
+  RE='^[[:space:]]*SGML_CATALOGS_DIR[[:space:]]*=[[:space:]]*'
d48bc3
   SGML_CATALOGS_DIR=`grep --color=never $RE $SGML_CONF | sed "s/$RE//"`
d48bc3
 fi
d48bc3
 
d48bc3
@@ -312,7 +312,7 @@ case $SGML_STANDARD_CATALOGS in
d48bc3
 	  SGML_CATALOG_FILES=$SGML_CENTRALIZED_CATALOG
d48bc3
 	else
d48bc3
 	  SGML_CATALOG_FILES=`find $SGML_BASE_DIR -name catalog`
d48bc3
-	  SGML_CATALOG_FILES=`echo "$SGML_CATALOG_FILES" | tr [:space:] :`
d48bc3
+	  SGML_CATALOG_FILES=`echo "$SGML_CATALOG_FILES" | tr [[:space:]] :`
d48bc3
 	fi
d48bc3
 	;;
d48bc3
   no)	SGML_CATALOG_FILES=""