Blame SOURCES/docbook-utils-newgrep.patch

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