Skip to content

Commit

Permalink
lua-single.eclass: consider historical impls in _lua_verify_patterns()
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
Marek Szuba committed Jul 27, 2021
1 parent 8699901 commit bafc6bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion eclass/lua-single.eclass
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit bafc6bc

Please sign in to comment.