diff options
author | Marek Szuba <marecki@gentoo.org> | 2021-07-23 23:56:10 +0100 |
---|---|---|
committer | Marek Szuba <marecki@gentoo.org> | 2021-07-27 15:22:02 +0100 |
commit | bafc6bc7fd2d41bd5452c85fc7cc6bb398be4a45 (patch) | |
tree | 12239ea2f1d11d9391147cd7e2d8012f5bde9f50 /eclass | |
parent | lua-utils.eclass: new eclass variable _LUA_HISTORICAL_IMPLS (diff) | |
download | gentoo-bafc6bc7fd2d41bd5452c85fc7cc6bb398be4a45.tar.gz gentoo-bafc6bc7fd2d41bd5452c85fc7cc6bb398be4a45.tar.bz2 gentoo-bafc6bc7fd2d41bd5452c85fc7cc6bb398be4a45.zip |
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>
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/lua-single.eclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/eclass/lua-single.eclass b/eclass/lua-single.eclass index ab4fdb3c75ac..f55c3f809484 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 |