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@gentoo.org>
This commit is contained in:
Marek Szuba
2021-07-27 15:22:02 +01:00
parent 869990189b
commit bafc6bc7fd
+1 -1
View File
@@ -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