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