mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-23 23:27:12 -08:00
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:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user