summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2001-05-15 03:33:20 +0000
committerTom Tromey <tromey@redhat.com>2001-05-15 03:33:20 +0000
commit16a59b89cc3fd83fe4a418b65922c7b80e9d1bda (patch)
tree3aa05bad0b94f9653688f9838b3b3da3fd957fde
parentfa0fa35825ab7daab1563d6ff0b7e7139dc3b192 (diff)
downloadautomake-16a59b89cc3fd83fe4a418b65922c7b80e9d1bda.tar.gz
* lib/ylwrap: Fixed quoting on regular expression. Fixes
yacc4.test.
-rw-r--r--ChangeLog3
-rwxr-xr-xlib/ylwrap4
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index cab0b3bf8..6d74b9e60 100644
--- 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.
diff --git a/lib/ylwrap b/lib/ylwrap
index 9ae6c0515..f7538bafe 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