On 05/01/2010, Mladen Turk <mt...@apache.org> wrote:
> On 01/05/2010 11:23 AM, Konstantin Kolinko wrote:
>
> > 2010/1/5 Rainer Jung<rainer.j...@kippdata.de>:
> >
> > >
> > > Konstantin: JFC is right, it was meant to also check against the third
> part
> > > of the minimum apr version "1 . 3 . 3".
> > >
> > >
> >
> > By the way: you should check the third number
> > only if the second one is equal to "3".
> >
> >
>
>  The simplest would just be
>
>  if [ ${1}${2}${3} -lt 133 ]; then
>    echo "Minimun required version is 1.3.3"
>    exit 1
>  fi

Not sure this works properly if any of the parts is >9

>
>  Regards
>  --
>  ^TM
>
>
> ---------------------------------------------------------------------
>  To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
>  For additional commands, e-mail: dev-h...@tomcat.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to