]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
Avoid a shell syntax error, when building with an inadequate Perl.
authorJim Meyering <jim@meyering.net>
Sat, 24 Feb 2007 08:26:56 +0000 (09:26 +0100)
committerJim Meyering <jim@meyering.net>
Sat, 24 Feb 2007 08:26:56 +0000 (09:26 +0100)
* man/Makefile.am (.x.1): Add quotes around $(PERL) in case, since
it can expand to "/.../missing perl".

ChangeLog
man/Makefile.am

index 07249f08950ea26082ea79dd3169ec7fa42ef37a..d9163e88ad5021fce2b6733a9054ae7f697b7263 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
 2007-02-24  Jim Meyering  <jim@meyering.net>
 
+       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".
+
        * man/Makefile.am (.x.1): Warn when unable to update a man page.
        Suggestion from Bruno Haible.
 
index 17b3415ba5f3658bfda4e2307cf5fe1c0cf238dd..32df9d1766946845fd757a7d23af1eddb85b328a 100644 (file)
@@ -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 \