1 |
On Fri, 17 Aug 2012 23:25:10 -0400 |
2 |
Mike Frysinger <vapier@g.o> wrote: |
3 |
|
4 |
> On Thursday 16 August 2012 16:19:44 Michał Górny wrote: |
5 |
> > --- a/eutils.eclass |
6 |
> > +++ b/eutils.eclass |
7 |
> > |
8 |
> > +# Install all specified <file>s into <directory>. This doesn't |
9 |
> > modify global +# 'insinto' path. Alike doins, calls 'die' on |
10 |
> > failure in EAPI 4+; in earlier +# EAPIs, returns false in that case. |
11 |
> |
12 |
> i don't really see the point in differentiating here. we have plenty |
13 |
> of helpers that have always implicitly called die regardless of the |
14 |
> EAPI level, and it's not like you'd be breaking any existing behavior |
15 |
> since no one is using this already. and even then, you'd be |
16 |
> "breaking" builds that were already broken. |
17 |
|
18 |
Maybe. Alternatively, I could end up doing doins || die || die. It will |
19 |
work but what's the point? |
20 |
|
21 |
> > +dointo() { |
22 |
> > + [[ ${#} -gt 2 ]] || die 'Synopsis: dointo <directory> |
23 |
> > <file> [...]' |
24 |
> |
25 |
> "Usage" is the standard prefix, not "Synopsis" |
26 |
|
27 |
Fixed. |
28 |
|
29 |
-- |
30 |
Best regards, |
31 |
Michał Górny |