Blame SOURCES/docbook-utils-newgrep.patch

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