summaryrefslogtreecommitdiff
path: root/odk/configure.pl
diff options
context:
space:
mode:
authorJens-Heiner Rechtien <hr@openoffice.org>2007-07-31 12:52:13 +0000
committerJens-Heiner Rechtien <hr@openoffice.org>2007-07-31 12:52:13 +0000
commita39fbfb8616435cc1f5143cafc0084013346baf9 (patch)
treef2190b1255f5d5a6cfb852adfc82829013001062 /odk/configure.pl
parent94c076de971b978285a448aa16ed31394eb318c5 (diff)
INTEGRATION: CWS jsc18 (1.14.120); FILE MERGED
2007/06/29 12:56:04 jsc 1.14.120.1: #i77265# improve version check
Diffstat (limited to 'odk/configure.pl')
-rw-r--r--odk/configure.pl10
1 files changed, 5 insertions, 5 deletions
diff --git a/odk/configure.pl b/odk/configure.pl
index a7b23c180c1e..6500db5c991e 100644
--- a/odk/configure.pl
+++ b/odk/configure.pl
@@ -548,6 +548,11 @@ sub testVersion
for ($i=0; $i <= $length; $i++ )
{
+ if ( @testVersion->[$i] > @mustBeVersion->[$i] )
+ {
+ return 1; # 1 indicates a correct version
+ }
+
if ( @testVersion->[$i] < @mustBeVersion->[$i] )
{
if ( $#checkOnly == 1 ) {
@@ -555,11 +560,6 @@ sub testVersion
print " The SDK requires at least the version $tmpMustBeVersion.\n";
}
return 0;
- } else {
- if ( @testVersion->[$i] > @mustBeVersion->[$i] )
- {
- return 1; # 1 indicates a correct version
- }
}
}