Re: [PATCH] multilib-strict: fix for Prefix

Fabian Groffen <[email protected]> Tue, 26 Jul 2022 20:47:41 +0200
Newsgroups gmane.linux.gentoo.portage.devel
Organization Gentoo Foundation, Inc.
Message-ID <[email protected]>
--YPPSaOwgR4dJghYv
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On 25-07-2022 19:38:57 -0400, Mike Gilbert wrote:
> On Mon, Jul 25, 2022 at 12:26 PM Fabian Groffen <[email protected]> wrot=
e:
> >
> > bin/install-qa-check.d/80multilib-strict: use file/find from Prefix
> >
> > diff --git a/bin/install-qa-check.d/80multilib-strict b/bin/install-qa-=
check.d/80multilib-strict
> > index afd223250..3db4ecce3 100644
> > --- a/bin/install-qa-check.d/80multilib-strict
> > +++ b/bin/install-qa-check.d/80multilib-strict
> > @@ -1,7 +1,7 @@
> >  # Strict multilib directory checks
> >  multilib_strict_check() {
> >         if has multilib-strict ${FEATURES} && \
> > -          [[ -x /usr/bin/file && -x /usr/bin/find ]] && \
> > +          [[ -x ${EPREFIX}/usr/bin/file && -x ${EPREFIX}/usr/bin/find =
]] && \
> >            [[ -n ${MULTILIB_STRICT_DIRS} && -n ${MULTILIB_STRICT_DENY} =
]]
> >         then
> >                 rm -f "${T}/multilib-strict.log"
>=20
> Seems good to me.

https://github.com/gentoo/portage/pull/868

Thanks

--=20
Fabian Groffen
Gentoo on a different level

--YPPSaOwgR4dJghYv
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQEzBAABCgAdFiEELUvHd/Gtp7LaU1vuzpXahU5EQpMFAmLgNs0ACgkQzpXahU5E
QpM8iggAqvDyU9XdYS69P3q+lMAIkRCDpXgbRC3PL4790xPuqPjx6H7K4jTi9V9v
WayvGnR7BSu1R5jClfHiS6ZpuLo4bcUT9RIBqNUthLB3w2VFAoA/77wRsTZxAZs1
sQGGjrWpgi0wVpyursWbobwNR40bIVrsd0blxUl6gTkH7gDPglRHC70xuUzIdDfm
k+iFpn/mBx/57DklhllHtq+ub56nuvxLVmD00GfsaniB3JvlQBVD6rQmWl3R44lB
kDBQr0hLyy8a2HFrRMT4798PwJXYZ/192i8P5RLcPyex5RlIWUHUfh2pV/n3n2Sh
fouJ964jSe15GHDSSt3//MUGZl21Cg==
=L3IA
-----END PGP SIGNATURE-----

--YPPSaOwgR4dJghYv--