docbook-utils/docbook-utils-grepnocolors.patch
Petr Šabata b212673507 RHEL 9.0.0 Alpha bootstrap
The content of this branch was automatically imported from Fedora ELN
with the following as its source:
https://src.fedoraproject.org/rpms/docbook-utils#6643d2ffbb251056fff5ca19ae6ce673665835f5
2020-10-14 23:45:48 +02:00

16 lines
700 B
Diff

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