Gentoo Archives: gentoo-portage-dev

From: Fabian Groffen <grobian@g.o>
To: gentoo-portage-dev@l.g.o
Subject: [gentoo-portage-dev] [PATCH] multilib-strict: fix for Prefix
Date: Mon, 25 Jul 2022 16:26:48
Message-Id: Yt7EQv6M3Jp/mFyB@gentoo.org
1 bin/install-qa-check.d/80multilib-strict: use file/find from Prefix
2
3 diff --git a/bin/install-qa-check.d/80multilib-strict b/bin/install-qa-check.d/80multilib-strict
4 index afd223250..3db4ecce3 100644
5 --- a/bin/install-qa-check.d/80multilib-strict
6 +++ b/bin/install-qa-check.d/80multilib-strict
7 @@ -1,7 +1,7 @@
8 # Strict multilib directory checks
9 multilib_strict_check() {
10 if has multilib-strict ${FEATURES} && \
11 - [[ -x /usr/bin/file && -x /usr/bin/find ]] && \
12 + [[ -x ${EPREFIX}/usr/bin/file && -x ${EPREFIX}/usr/bin/find ]] && \
13 [[ -n ${MULTILIB_STRICT_DIRS} && -n ${MULTILIB_STRICT_DENY} ]]
14 then
15 rm -f "${T}/multilib-strict.log"
16
17 --
18 Fabian Groffen
19 Gentoo on a different level

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies

Subject Author
Re: [gentoo-portage-dev] [PATCH] multilib-strict: fix for Prefix Mike Gilbert <floppym@g.o>