On 08/07/2018 10:44 AM, Michael Orlitzky wrote:
> On 08/07/2018 01:34 PM, Zac Medico wrote:
>>
>> Why not use ${ED%/} instead of ${D%/} here, so that the output is the
>> same regardless of ${EPREFIX}?
>>
> 
> We want to show where the executable was actually installed, and
> generally that includes EPREFIX. For example, I'd want to see
> 
>   /var/tmp/whatever/.../root/prefix/usr/bin/foo
> 
> reported as
> 
>   /root/prefix/usr/bin/foo
> 
> rather than
> 
>   /usr/bin/foo
> 
> Of course, these checks are now skipped on prefix systems anyway, so
> it's a bit of a moot point. But I think it's more future-proof to strip
> only the $D.

Sounds good. Thanks! Merged:

https://gitweb.gentoo.org/proj/portage.git/commit/?id=807ac3d9d6eecead73f59d399b30559e5c731587
-- 
Thanks,
Zac

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to