bin/jw.in | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit 3534b5aeb642576c7c478bfcbbeecf44422a2d9b
Author: Ondřej Vašík <ovasik(a)redhat.com>
Date: Tue Feb 8 12:44:31 2011 +0100
make jw script [[:space:]] matching to work with new grep
diff --git a/bin/jw.in b/bin/jw.in
index adca797..4f48a38 100644
--- a/bin/jw.in
+++ b/bin/jw.in
@@ -80,9 +80,9 @@ SGML_BASE_DIR="@prefix@/share/sgml"
SGML_CATALOGS_DIR="/etc/sgml"
if [ -f "$SGML_CONF" ]
then
- RE='^[:space:]*SGML_BASE_DIR[:space:]*=[:space:]*'
+ RE='^[[:space:]]*SGML_BASE_DIR[[:space:]]*=[[:space:]]*'
SGML_BASE_DIR=`grep --color=never $RE $SGML_CONF | sed "s/$RE//"`
- RE='^[:space:]*SGML_CATALOGS_DIR[:space:]*=[:space:]*'
+ RE='^[[:space:]]*SGML_CATALOGS_DIR[[:space:]]*=[[:space:]]*'
SGML_CATALOGS_DIR=`grep --color=never $RE $SGML_CONF | sed "s/$RE//"`
fi
Show replies by date