]> git.ipfire.org Git - people/arne_f/ipfire-3.x.git/blame - docbook-utils/patches/docbook-utils-grepnocolors.patch
docbook-utils: Convert package to new layout.
[people/arne_f/ipfire-3.x.git] / docbook-utils / patches / docbook-utils-grepnocolors.patch
CommitLineData
332c8f43
SS
1diff -urNp docbook-utils-0.6.14-orig/bin/jw.in docbook-utils-0.6.14/bin/jw.in
2--- docbook-utils-0.6.14-orig/bin/jw.in 2008-11-28 10:53:09.000000000 +0100
3+++ docbook-utils-0.6.14/bin/jw.in 2008-11-28 11:22:28.000000000 +0100
4@@ -81,9 +81,9 @@ SGML_CATALOGS_DIR="/etc/sgml"
5 if [ -f "$SGML_CONF" ]
6 then
7 RE='^[:space:]*SGML_BASE_DIR[:space:]*=[:space:]*'
8- SGML_BASE_DIR=`grep $RE $SGML_CONF | sed "s/$RE//"`
9+ SGML_BASE_DIR=`grep --color=never $RE $SGML_CONF | sed "s/$RE//"`
10 RE='^[:space:]*SGML_CATALOGS_DIR[:space:]*=[:space:]*'
11- SGML_CATALOGS_DIR=`grep $RE $SGML_CONF | sed "s/$RE//"`
12+ SGML_CATALOGS_DIR=`grep --color=never $RE $SGML_CONF | sed "s/$RE//"`
13 fi
14
15 # Set frontend to use