1 |
Le 08/02/2010 03:24, Mike Frysinger a écrit : |
2 |
> if we wanted to specifically target semi-common errors (and i think 'epatch' |
3 |
> w/out eutils.eclass falls into this category), then a repoman check would be |
4 |
> good. |
5 |
> |
6 |
> it might also be useful to add a default epatch() to the initial env that |
7 |
> would be clobbered when the inherit occurred. |
8 |
> epatch() { die "you need to inherit eutils.eclass to use epatch" ; } |
9 |
|
10 |
+1, that's a very good idea! I've stopped counting how many times that's |
11 |
happened to me. |
12 |
|
13 |
I'm sure there are other common mistakes we all do, but this particular |
14 |
one is a low-hanging fruit. |
15 |
|
16 |
Cheers, |
17 |
|
18 |
Rémi |