From bafc6bc7fd2d41bd5452c85fc7cc6bb398be4a45 Mon Sep 17 00:00:00 2001 From: Marek Szuba Date: Fri, 23 Jul 2021 23:56:10 +0100 Subject: [PATCH] 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 --- 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 ab4fdb3c75ac1..f55c3f809484d 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