From c6877b8f0fcd34a96f8874199eafae14b3241d77 Mon Sep 17 00:00:00 2001 From: Collin Funk Date: Sat, 27 Apr 2024 14:03:27 -0700 Subject: [PATCH] gnulib-tool.sh: Match sorting of gnulib-tool.py in output. * gnulib-tool.sh (func_create_megatestdir): Sort the modules so AC_CONFIG_SUBDIRS in configure.ac and SUBDIRS in Makefile.am are also sorted. --- ChangeLog | 7 +++++++ gnulib-tool.sh | 1 + 2 files changed, 8 insertions(+) diff --git a/ChangeLog b/ChangeLog index 935ddbd1ba..61518a200e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2024-04-27 Collin Funk + + gnulib-tool.sh: Match sorting of gnulib-tool.py in output. + * gnulib-tool.sh (func_create_megatestdir): Sort the modules so + AC_CONFIG_SUBDIRS in configure.ac and SUBDIRS in Makefile.am are also + sorted. + 2024-04-27 Bruno Haible fcntl-h, stdio, unistd: Ensure off64_t is defined on all platforms. diff --git a/gnulib-tool.sh b/gnulib-tool.sh index b486e99b1e..13a9bdf535 100755 --- a/gnulib-tool.sh +++ b/gnulib-tool.sh @@ -7135,6 +7135,7 @@ func_create_megatestdir () if test -z "$allmodules"; then allmodules=`func_all_modules` fi + allmodules=`for module in $allmodules; do echo $module; done | sort -u` megasubdirs= # First, all modules one by one. -- 2.44.0