From 16a59b89cc3fd83fe4a418b65922c7b80e9d1bda Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Tue, 15 May 2001 03:33:20 +0000 Subject: [PATCH] * lib/ylwrap: Fixed quoting on regular expression. Fixes yacc4.test. --- ChangeLog | 3 +++ lib/ylwrap | 4 +++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index cab0b3b..6d74b9e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2001-05-14 Tom Tromey + * lib/ylwrap: Fixed quoting on regular expression. Fixes + yacc4.test. + Fix for texinfo10.test. * tests/Makefile.am (XFAIL_TESTS): Remove texinfo10.test. * lib/am/texinfos.am: Use LOCAL-TEXIS liberally. diff --git a/lib/ylwrap b/lib/ylwrap index 9ae6c05..f7538ba 100755 --- a/lib/ylwrap +++ b/lib/ylwrap @@ -67,7 +67,9 @@ esac input_dir="`echo $input | sed -e 's,/[^/]*$,,'`" # Quote $INPUT_DIR so we can use it in a regexp. # FIXME: really we should care about more than `.'. -input_rx="`echo $input_dir | sed -e 's,.,\.,g'`" +input_rx="`echo $input_dir | sed -e 's,\.,\\\.,g'`" + +echo "got $input_rx" pairlist= while test "$#" -ne 0; do -- 2.7.4