Re: svn commit: r895984 - /tomcat/native/trunk/native/build/tcnative.m4

2010-01-05 Thread sebb
On 05/01/2010, Mladen Turk wrote: > On 01/05/2010 11:57 AM, rj...@apache.org wrote: > > > Author: rjung > > Get rid of nested version test by formatting > > version number as one big decimal. > > > > + decimal_apr_version=`printf %02d%02d%03d ${1} ${2} ${3}` > > + if test "${decimal_apr_version}

Re: svn commit: r895984 - /tomcat/native/trunk/native/build/tcnative.m4

2010-01-05 Thread Mladen Turk
On 01/05/2010 11:57 AM, rj...@apache.org wrote: Author: rjung Get rid of nested version test by formatting version number as one big decimal. + decimal_apr_version=`printf %02d%02d%03d ${1} ${2} ${3}` + if test "${decimal_apr_version}" -lt "0101003"; then You should not quote the arithmetic