]> git.ipfire.org Git - thirdparty/automake.git/commit
automake: avoid Perl-level warning on empty variable $().
authorKarl Berry <karl@freefriends.org>
Sun, 30 Jun 2024 20:26:51 +0000 (13:26 -0700)
committerKarl Berry <karl@freefriends.org>
Sun, 30 Jun 2024 20:26:51 +0000 (13:26 -0700)
commitb020a9ca888a3af2e18ecd77fa66c6ca6811329f
treeded702c7649e62a0a6c5882e20f12493eea4d7a0
parent3dd08bc4f395f33631b8ec6ff43818aabb725f2a
automake: avoid Perl-level warning on empty variable $().

https://lists.gnu.org/archive/html/automake/2024-06/msg00085.html

* lib/Automake/Variable.pm (scan_variable_expansions): recognize
and do nothing if the variable name is empty: $().
* t/varempty.sh: new test.
* t/list-of-tests.mk (handwritten_TESTS): add it.
lib/Automake/Variable.pm
t/list-of-tests.mk
t/varempty.sh [new file with mode: 0644]