* gnulib-tool.sh (func_create_testdir): Validate the modules list.
+2024-04-21 Bruno Haible <bruno@clisp.org>
+
+ gnulib-tool.sh: In --create-testdir, just warn about a bad module name.
+ * gnulib-tool.sh (func_create_testdir): Validate the modules list.
+
2024-04-21 Collin Funk <collin.funk1@gmail.com>
gnulib-tool.py: Don't fail when given a bad module name.
# Except lib-ignore, which leads to link errors when Sun C++ is used. FIXME.
modules=`func_all_modules`
modules=`for m in $modules; do case $m in config-h | non-recursive-gnulib-prefix-hack | timevar | mountlist | lib-ignore) ;; *) echo $m;; esac; done`
+ else
+ # Validate the list of specified modules.
+ modules=`for module in $modules; do func_verify_module; if test -n "$module"; then echo "$module"; fi; done`
fi
specified_modules="$modules"