]> git.ipfire.org Git - thirdparty/automake.git/commitdiff
* lib/ylwrap: Fixed quoting on regular expression. Fixes
authorTom Tromey <tromey@redhat.com>
Tue, 15 May 2001 03:33:20 +0000 (03:33 +0000)
committerTom Tromey <tromey@redhat.com>
Tue, 15 May 2001 03:33:20 +0000 (03:33 +0000)
yacc4.test.

ChangeLog
lib/ylwrap

index cab0b3bf812b9b7969c08bfe0becfbdd3235d08a..6d74b9e609b01487c7ac9d53876d98f1469320e9 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2001-05-14  Tom Tromey  <tromey@redhat.com>
 
+       * 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.
index 9ae6c05152dd112ecf275a504cd42f817b600491..f7538bafe4057a9e808673c4e979cdc9f12a549b 100755 (executable)
@@ -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