]> git.ipfire.org Git - thirdparty/gnulib.git/commitdiff
gendocs: support compound $MAKEINFO
authorPádraig Brady <P@draigBrady.com>
Sat, 7 Feb 2026 21:10:47 +0000 (21:10 +0000)
committerPádraig Brady <P@draigBrady.com>
Sat, 7 Feb 2026 21:13:49 +0000 (21:13 +0000)
* build-aux/gendocs.sh: Use eval consistently with $MAKEINFO,
to support it being a compound command.  In coreutils at least,
it has the value: SHELL='/bin/sh' build-aux/makeinfo-wrapper.sh
Reported by Collin Funk.

ChangeLog
build-aux/gendocs.sh

index d0e0a4c2d12d561c7b9f6c1da433459e69899e08..04d4d77b727c53706db6b13da30ddec1cde79b33 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2026-02-07  Pádraig Brady  <P@draigBrady.com>
+
+       gendocs: support compound $MAKEINFO
+       * build-aux/gendocs.sh: Use eval consistently with $MAKEINFO,
+       to support it being a compound command.  In coreutils at least,
+       it has the value: SHELL='/bin/sh' build-aux/makeinfo-wrapper.sh
+       Reported by Collin Funk.
+
 2026-02-04  Pádraig Brady  <P@draigBrady.com>
 
        maintainer-makefile: propagate MAKEINFO to gendocs
index 29896ab28e2c8ae5ae7b0c3c053910a3b2c2c3e3..80b0a17368669b4f81b9e85e739fd94a19d44255 100755 (executable)
@@ -424,7 +424,7 @@ d=`dirname $srcfile`
   # Omit patterns that do not expand to file names.
   pats=
 
-  if case `$MAKEINFO --version | sed -e 's/^[^0-9]*//' -e 1q` in \
+  if case `eval $MAKEINFO --version | sed -e 's/^[^0-9]*//' -e 1q` in \
        [1-6]* | 7.[01]*) false;; \
        *) true;; \
      esac \