Gentoo Archives: gentoo-portage-dev

From: Zac Medico <zmedico@g.o>
To: gentoo-portage-dev@l.g.o, Michael Orlitzky <mjo@g.o>
Subject: Re: [gentoo-portage-dev] [PATCH v3 1/2] bin/install-qa-check.d: add new 90bad-bin-owner QA check.
Date: Tue, 07 Aug 2018 17:34:12
Message-Id: 88a7fa57-2a2a-548a-48b7-c4f0c957ada6@gentoo.org
In Reply to: [gentoo-portage-dev] [PATCH v3 1/2] bin/install-qa-check.d: add new 90bad-bin-owner QA check. by Michael Orlitzky
1 On 08/07/2018 09:46 AM, Michael Orlitzky wrote:
2 > + if [[ ${found[@]} ]]; then
3 > + eqawarn "system executables owned by nonzero uid:"
4 > + for f in "${found[@]}"; do
5 > + # Strip off the leading destdir before outputting the path.
6 > + eqawarn " ${f#${D%/}}"
7
8 Why not use ${ED%/} instead of ${D%/} here, so that the output is the
9 same regardless of ${EPREFIX}?
10 --
11 Thanks,
12 Zac

Attachments

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

Replies