summaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2007-11-05 11:05:55 +0100
committerJim Meyering <meyering@redhat.com>2007-11-05 11:14:05 +0100
commitd471effd85668a4704baa2d12f33e125ea429eea (patch)
treec99ecd4b899483e8c8314b6c25d4c23aead78954 /man
parent25e3dd5365aaab8f470e1c40b1559f3fb4ae68e4 (diff)
downloadcoreutils-d471effd85668a4704baa2d12f33e125ea429eea.tar.xz
Use tighter regexps when performing name substitution.
* man/Makefile.am (mapped_name): Add ^ and $$ anchors. Signed-off-by: Jim Meyering <meyering@redhat.com>
Diffstat (limited to 'man')
-rw-r--r--man/Makefile.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/man/Makefile.am b/man/Makefile.am
index a7b96d16e..8d1f7f7c9 100644
--- a/man/Makefile.am
+++ b/man/Makefile.am
@@ -136,7 +136,7 @@ SUFFIXES = .x .1
# `install' when creating install.1.
# Similarly, ensure that it uses the ../src/[ binary to create test.1.
t = $*.td
-mapped_name = `echo $*|sed 's/install/ginstall/; s/test/[/'`
+mapped_name = `echo $*|sed 's/^install$$/ginstall/; s/^test$$/[/'`
# Note the use of $t/$*, rather than just `$*' as in other packages.
# That is necessary to avoid failures for programs that are also shell built-in