diff options
author | CoprDistGit <infra@openeuler.org> | 2024-08-05 01:49:41 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2024-08-05 01:49:41 +0000 |
commit | 89b0c8aa91110625d4527760aea6625ab6b07c78 (patch) | |
tree | 9b8f17c4f7799054a82112fe3c88aba13649c438 /docbook-utils-grepnocolors.patch | |
parent | 40968e5e162216782a1a0585c51d5b2c19937cc2 (diff) |
automatic import of docbook-utilsopeneuler24.03_LTS
Diffstat (limited to 'docbook-utils-grepnocolors.patch')
-rw-r--r-- | docbook-utils-grepnocolors.patch | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/docbook-utils-grepnocolors.patch b/docbook-utils-grepnocolors.patch new file mode 100644 index 0000000..3cce39e --- /dev/null +++ b/docbook-utils-grepnocolors.patch @@ -0,0 +1,15 @@ +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 |