Blame SOURCES/docbook-utils-grepnocolors.patch

3ed2ca
diff -urNp docbook-utils-0.6.14-orig/bin/jw.in docbook-utils-0.6.14/bin/jw.in
3ed2ca
--- docbook-utils-0.6.14-orig/bin/jw.in	2008-11-28 10:53:09.000000000 +0100
3ed2ca
+++ docbook-utils-0.6.14/bin/jw.in	2008-11-28 11:22:28.000000000 +0100
3ed2ca
@@ -81,9 +81,9 @@ SGML_CATALOGS_DIR="/etc/sgml"
3ed2ca
 if [ -f "$SGML_CONF" ]
3ed2ca
 then
3ed2ca
   RE='^[:space:]*SGML_BASE_DIR[:space:]*=[:space:]*'
3ed2ca
-  SGML_BASE_DIR=`grep $RE $SGML_CONF | sed "s/$RE//"`
3ed2ca
+  SGML_BASE_DIR=`grep --color=never $RE $SGML_CONF | sed "s/$RE//"`
3ed2ca
   RE='^[:space:]*SGML_CATALOGS_DIR[:space:]*=[:space:]*'
3ed2ca
-  SGML_CATALOGS_DIR=`grep $RE $SGML_CONF | sed "s/$RE//"`
3ed2ca
+  SGML_CATALOGS_DIR=`grep --color=never $RE $SGML_CONF | sed "s/$RE//"`
3ed2ca
 fi
3ed2ca
 
3ed2ca
 # Set frontend to use