>>>>> On Sat, 21 Feb 2009, Zac Medico wrote:

> Keep in mind that using a glob that way is going to mean that
> docompress has to join each path with the current directory and
> then strip $D from the left side. Doing it that way complicates the
> implementation details a bit, and it's not quite as flexible as
> regular expression support would be. With regular expression support
> you could even control which file extensions are compressed or not.

Following our discussion in #-portage and after thinking about it:
I assume that there would be very few cases where globbing or regexp
support is required. And these could always be handled by the ebuild
itself or by an eclass function.

So, we should follow the KISS principle here, and allow only literal
paths (files or directories) as arguments for docompress.

Ulrich

Reply via email to