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