From 84a7efc991e258cb7f0d7e2662be554564ec6c0d Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Tue, 15 May 2001 03:33:19 +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 cab0b3bf..6d74b9e6 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 9ae6c051..f7538baf 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.43.5