Blame SOURCES/docbook-utils-grepnocolors.patch

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