summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon Lipp <simon.lipp@scilab.org>2008-06-30 11:53:28 +0000
committerSimon Lipp <simon.lipp@scilab.org>2008-06-30 11:53:28 +0000
commit7cc1f4db1582b7c7d363f9eca74086993e4d9166 (patch)
treeac515574fb4a047bb57f0f25f293df6562698325
parent780a8ad62001e2578dbb7c5ff2606413be4fc5c4 (diff)
downloadscilab-7cc1f4db1582b7c7d363f9eca74086993e4d9166.zip
scilab-7cc1f4db1582b7c7d363f9eca74086993e4d9166.tar.gz
atoms_cc/buildtoolbox.pl: fix bug in dependencies check
-rwxr-xr-xatoms_cc/buildtoolbox.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/atoms_cc/buildtoolbox.pl b/atoms_cc/buildtoolbox.pl
index 6a7572e..d12dcc4 100755
--- a/atoms_cc/buildtoolbox.pl
+++ b/atoms_cc/buildtoolbox.pl
@@ -510,7 +510,7 @@ sub stage_tbdeps {
510 510
511 # fixme: we only check wether neededVersion <= installedVersion 511 # fixme: we only check wether neededVersion <= installedVersion
512 # Others tests (=, <=) are still to be implemented 512 # Others tests (=, <=) are still to be implemented
513 if(compare_versions($deps{$dep}, $desc2{"Version"}) > 1) { 513 if(compare_versions($deps{$dep}, $desc2{"Version"}) == 1) {
514 common_die("We need \"$dep\" >= $deps{$dep}, but version $desc2{Version} installed"); 514 common_die("We need \"$dep\" >= $deps{$dep}, but version $desc2{Version} installed");
515 } 515 }
516 } 516 }