On 01/05/2010 11:23 AM, Konstantin Kolinko wrote:
2010/1/5 Rainer Jung<[email protected]>:

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


Regards
--
^TM

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to