summaryrefslogtreecommitdiff
path: root/lib/ylwrap
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 /lib/ylwrap
parentfa0fa35825ab7daab1563d6ff0b7e7139dc3b192 (diff)
downloadautomake-16a59b89cc3fd83fe4a418b65922c7b80e9d1bda.tar.gz
* lib/ylwrap: Fixed quoting on regular expression. Fixes
yacc4.test.
Diffstat (limited to 'lib/ylwrap')
-rwxr-xr-xlib/ylwrap4
1 files changed, 3 insertions, 1 deletions
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