summaryrefslogtreecommitdiff
path: root/man/Makefile.am
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2007-02-24 09:26:56 +0100
committerJim Meyering <jim@meyering.net>2007-02-24 09:26:56 +0100
commit75460e090c5bd114912a659ad73e469c08a2d60c (patch)
tree9138d45c15eae2fcec568f7652b802ff44c37b8b /man/Makefile.am
parent90390c6a92e450ec634ada1c5179478dc86df7b9 (diff)
downloadcoreutils-75460e090c5bd114912a659ad73e469c08a2d60c.tar.xz
Avoid a shell syntax error, when building with an inadequate Perl.
* man/Makefile.am (.x.1): Add quotes around $(PERL) in case, since it can expand to "/.../missing perl".
Diffstat (limited to 'man/Makefile.am')
-rw-r--r--man/Makefile.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/man/Makefile.am b/man/Makefile.am
index 17b3415ba..32df9d176 100644
--- a/man/Makefile.am
+++ b/man/Makefile.am
@@ -153,7 +153,7 @@ mapped_name = `echo $*|sed 's/install/ginstall/; s/test/[/'`
# That is necessary to avoid failures for programs that are also shell built-in
# functions like echo, false, printf, pwd.
.x.1:
- @case $(PERL) in \
+ @case '$(PERL)' in \
*"/missing "*) \
echo 'WARNING: cannot update man page $@ since perl is missing' \
'or inadequate' 1>&2 \