Gavin Smith wrote:
> According to the comment in gnulib-tool, sh is supposed to be the
> default, but it is actually Python:
> ...
> # The environment variable GNULIB_TOOL_IMPL can have four possible values:
> #   - GNULIB_TOOL_IMPL=sh      chooses the shell implementation.
> #   - GNULIB_TOOL_IMPL=py      chooses the Python implementation.
> #   - GNULIB_TOOL_IMPL=        chooses the default (currently sh).
> #   - GNULIB_TOOL_IMPL=sh+py   runs both implementations and compares the
> #                              result

Thanks for the report. Fixed as follows:


2024-11-12  Bruno Haible  <[email protected]>

        gnulib-tool: Fix comment.
        Reported by Gavin Smith <[email protected]> in
        <https://lists.gnu.org/archive/html/bug-gnulib/2024-11/msg00101.html>.
        * gnulib-tool: Fix comment.

diff --git a/gnulib-tool b/gnulib-tool
index 5cfc5bbb52..586464c147 100755
--- a/gnulib-tool
+++ b/gnulib-tool
@@ -24,7 +24,9 @@
 # The environment variable GNULIB_TOOL_IMPL can have four possible values:
 #   - GNULIB_TOOL_IMPL=sh      chooses the shell implementation.
 #   - GNULIB_TOOL_IMPL=py      chooses the Python implementation.
-#   - GNULIB_TOOL_IMPL=        chooses the default (currently sh).
+#   - GNULIB_TOOL_IMPL=        chooses the default (the Python implementation
+#                              if a suitable Python version is found, the shell
+#                              implementation otherwise).
 #   - GNULIB_TOOL_IMPL=sh+py   runs both implementations and compares the
 #                              results.
 




Reply via email to