Gentoo Archives: gentoo-portage-dev

From: Mike Gilbert <floppym@g.o>
To: gentoo-portage-dev@l.g.o
Subject: Re: [gentoo-portage-dev] [PATCH] multilib-strict: fix for Prefix
Date: Mon, 25 Jul 2022 23:39:12
Message-Id: CAJ0EP428J_mU0U=nHGVqedG4nv4sHrbkii07erO0E_KgQLTF8Q@mail.gmail.com
In Reply to: [gentoo-portage-dev] [PATCH] multilib-strict: fix for Prefix by Fabian Groffen
1 On Mon, Jul 25, 2022 at 12:26 PM Fabian Groffen <grobian@g.o> wrote:
2 >
3 > bin/install-qa-check.d/80multilib-strict: use file/find from Prefix
4 >
5 > diff --git a/bin/install-qa-check.d/80multilib-strict b/bin/install-qa-check.d/80multilib-strict
6 > index afd223250..3db4ecce3 100644
7 > --- a/bin/install-qa-check.d/80multilib-strict
8 > +++ b/bin/install-qa-check.d/80multilib-strict
9 > @@ -1,7 +1,7 @@
10 > # Strict multilib directory checks
11 > multilib_strict_check() {
12 > if has multilib-strict ${FEATURES} && \
13 > - [[ -x /usr/bin/file && -x /usr/bin/find ]] && \
14 > + [[ -x ${EPREFIX}/usr/bin/file && -x ${EPREFIX}/usr/bin/find ]] && \
15 > [[ -n ${MULTILIB_STRICT_DIRS} && -n ${MULTILIB_STRICT_DENY} ]]
16 > then
17 > rm -f "${T}/multilib-strict.log"
18
19 Seems good to me.

Replies

Subject Author
Re: [gentoo-portage-dev] [PATCH] multilib-strict: fix for Prefix Fabian Groffen <grobian@g.o>