mirror of
https://https.git.savannah.gnu.org/git/gnulib.git
synced 2026-05-13 15:13:36 +00:00
gnulib-tool.py: Fix conditional checking the incorrect variable.
Reported by Bruno Haible <bruno@clisp.org> in <https://lists.gnu.org/archive/html/bug-gnulib/2024-02/msg00207.html>. * gnulib-tool.py (main): Fix incorrect conditional. Check that mode, not modules, is not None before treating it as a string.
This commit is contained in:
committed by
Bruno Haible
parent
5828723e28
commit
242b6016c6
@@ -1,3 +1,11 @@
|
||||
2024-02-24 Collin Funk <collin.funk1@gmail.com>
|
||||
|
||||
gnulib-tool.py: Fix conditional checking the incorrect variable.
|
||||
Reported by Bruno Haible <bruno@clisp.org> in
|
||||
<https://lists.gnu.org/archive/html/bug-gnulib/2024-02/msg00207.html>.
|
||||
* gnulib-tool.py (main): Fix incorrect conditional. Check that mode, not
|
||||
modules, is not None before treating it as a string.
|
||||
|
||||
2024-02-24 Bruno Haible <bruno@clisp.org>
|
||||
|
||||
striconveha tests: Avoid test failure on macOS 12.5.
|
||||
|
||||
@@ -607,7 +607,7 @@ def main():
|
||||
if cmdargs.pobase == None and cmdargs.podomain != None:
|
||||
message = '%s: warning: --po-domain has no effect without a --po-base option\n' % constants.APP['name']
|
||||
sys.stderr.write(message)
|
||||
if modules != None and "tests" in mode and gnu_make:
|
||||
if mode != None and "tests" in mode and gnu_make:
|
||||
message = '%s: --gnu-make not supported when including tests\n' % constants.APP['name']
|
||||
sys.stderr.write(message)
|
||||
sys.exit(1)
|
||||
|
||||
Reference in New Issue
Block a user