mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-20 10:17:08 -08:00
check-reqs.eclass: Sanitize MERGE_TYPE for EAPI < 4
Signed-off-by: Justin Lecher <jlec@gentoo.org>
This commit is contained in:
@@ -136,6 +136,8 @@ check-reqs_run() {
|
||||
# some people are *censored*
|
||||
unset CHECKREQS_FAILED
|
||||
|
||||
[[ ${EAPI:-0} == [0123] ]] && local MERGE_TYPE=""
|
||||
|
||||
# use != in test, because MERGE_TYPE only exists in EAPI 4 and later
|
||||
if [[ ${MERGE_TYPE} != binary ]]; then
|
||||
[[ -n ${CHECKREQS_MEMORY} ]] && \
|
||||
|
||||
Reference in New Issue
Block a user