On 23:45 Sat 13 Oct     , Drake Wyrm wrote:
> Donnie Berkholz <[EMAIL PROTECTED]> wrote:
> > On 13:36 Sat 13 Oct     , Matti Bickel (mabi) wrote:
> > >   if kernel_is gt 2 6 20 ; then
> > >           epatch "${FILESDIR}"/${PV}-register_sysctl_table.patch
> > >   fi
> > > 
> > >   if kernel_is ge 2 6 22 ; then
> > >           epatch "${FILESDIR}"/${PV}-kmem-and-dtor-fix.patch
> > >   fi
> > 
> > Mixing 'gt' and 'ge' is a bad idea.
> 
> Just outa curiosity, why?

Because it's inconsistent and one generally assumes that people will be 
consistent with the way they test numbers. That way you only need to 
read the number rather than continually checking every single line to 
see how exactly it's tested for.

Thanks,
Donnie
-- 
[EMAIL PROTECTED] mailing list

Reply via email to