From: Pádraig Brady Date: Sat, 7 Feb 2026 21:10:47 +0000 (+0000) Subject: gendocs: support compound $MAKEINFO X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d2c845c863eb5cc5071933d2db63604322d35ca1;p=thirdparty%2Fgnulib.git 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. --- diff --git a/ChangeLog b/ChangeLog index d0e0a4c2d1..04d4d77b72 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +2026-02-07 Pádraig Brady + + 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 maintainer-makefile: propagate MAKEINFO to gendocs diff --git a/build-aux/gendocs.sh b/build-aux/gendocs.sh index 29896ab28e..80b0a17368 100755 --- a/build-aux/gendocs.sh +++ b/build-aux/gendocs.sh @@ -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 \