diff -urNp docbook-utils-0.6.14-orig/bin/jw.in docbook-utils-0.6.14/bin/jw.in
old
|
new
|
SGML_BASE_DIR="@prefix@/share/sgml" |
80 | 80 | SGML_CATALOGS_DIR="/etc/sgml" |
81 | 81 | if [ -f "$SGML_CONF" ] |
82 | 82 | then |
83 | | RE='^[:space:]*SGML_BASE_DIR[:space:]*=[:space:]*' |
| 83 | RE='^[[:space:]]*SGML_BASE_DIR[[:space:]]*=[[:space:]]*' |
84 | 84 | SGML_BASE_DIR=`grep --color=never $RE $SGML_CONF | sed "s/$RE//"` |
85 | | RE='^[:space:]*SGML_CATALOGS_DIR[:space:]*=[:space:]*' |
| 85 | RE='^[[:space:]]*SGML_CATALOGS_DIR[[:space:]]*=[[:space:]]*' |
86 | 86 | SGML_CATALOGS_DIR=`grep --color=never $RE $SGML_CONF | sed "s/$RE//"` |
87 | 87 | fi |
88 | 88 | |
… |
… |
case $SGML_STANDARD_CATALOGS in |
312 | 312 | SGML_CATALOG_FILES=$SGML_CENTRALIZED_CATALOG |
313 | 313 | else |
314 | 314 | SGML_CATALOG_FILES=`find $SGML_BASE_DIR -name catalog` |
315 | | SGML_CATALOG_FILES=`echo "$SGML_CATALOG_FILES" | tr [:space:] :` |
| 315 | SGML_CATALOG_FILES=`echo "$SGML_CATALOG_FILES" | tr [[:space:]] :` |
316 | 316 | fi |
317 | 317 | ;; |
318 | 318 | no) SGML_CATALOG_FILES="" |