commit: bafc6bc7fd2d41bd5452c85fc7cc6bb398be4a45
Author: Marek Szuba <marecki <AT> gentoo <DOT> org>
AuthorDate: Fri Jul 23 22:56:10 2021 +0000
Commit: Marek Szuba <marecki <AT> gentoo <DOT> org>
CommitDate: Tue Jul 27 14:22:02 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bafc6bc7
lua-single.eclass: consider historical impls in _lua_verify_patterns()
This is so that lua_gen_foo() calls die on mentions of formerly
supported implementations, allowing for such mentions to be gradually
removed from ebuilds which contain them.
Signed-off-by: Marek Szuba <marecki <AT> gentoo.org>
eclass/lua-single.eclass | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/eclass/lua-single.eclass b/eclass/lua-single.eclass
index ab4fdb3c75a..f55c3f80948 100644
--- a/eclass/lua-single.eclass
+++ b/eclass/lua-single.eclass
@@ -348,7 +348,7 @@ _lua_verify_patterns() {
local impl pattern
for pattern; do
- for impl in "${_LUA_ALL_IMPLS[@]}"; do
+ for impl in "${_LUA_ALL_IMPLS[@]}"
"${_LUA_HISTORICAL_IMPLS[@]}"; do
[[ ${impl} == ${pattern/./-} ]] && continue 2
done