From: | "Michael Weber (xmw)" <xmw@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in app-text/docbook-sgml-utils/files: docbook-sgml-utils-0.6.14-grep-2.7.patch |
Date: | Sun, 03 Oct 2010 17:55:02 |
Message-Id: | 20101003175457.7A5F620054@flycatcher.gentoo.org |
1 | xmw 10/10/03 17:54:57 |
2 | |
3 | Added: docbook-sgml-utils-0.6.14-grep-2.7.patch |
4 | Log: |
5 | fix bug 338853 |
6 | (Portage version: 2.1.8.3/cvs/Linux x86_64) |
7 | |
8 | Revision Changes Path |
9 | 1.1 app-text/docbook-sgml-utils/files/docbook-sgml-utils-0.6.14-grep-2.7.patch |
10 | |
11 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/docbook-sgml-utils/files/docbook-sgml-utils-0.6.14-grep-2.7.patch?rev=1.1&view=markup |
12 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/docbook-sgml-utils/files/docbook-sgml-utils-0.6.14-grep-2.7.patch?rev=1.1&content-type=text/plain |
13 | |
14 | Index: docbook-sgml-utils-0.6.14-grep-2.7.patch |
15 | =================================================================== |
16 | Fix wrong charakter classes no longer missinterpreted by grep-2.7 |
17 | Michael Weber <xmw@g.o> |
18 | |
19 | --- docbook-utils-0.6.14/bin/jw.in |
20 | +++ docbook-utils-0.6.14/bin/jw.in |
21 | @@ -80,9 +80,9 @@ |
22 | SGML_CATALOGS_DIR="/etc/sgml" |
23 | if [ -f "$SGML_CONF" ] |
24 | then |
25 | - RE='^[:space:]*SGML_BASE_DIR[:space:]*=[:space:]*' |
26 | + RE='^[[:space:]]*SGML_BASE_DIR[[:space:]]*=[[:space:]]*' |
27 | SGML_BASE_DIR=`grep $RE $SGML_CONF | sed "s/$RE//"` |
28 | - RE='^[:space:]*SGML_CATALOGS_DIR[:space:]*=[:space:]*' |
29 | + RE='^[[:space:]]*SGML_CATALOGS_DIR[[:space:]]*=[[:space:]]*' |
30 | SGML_CATALOGS_DIR=`grep $RE $SGML_CONF | sed "s/$RE//"` |
31 | fi |