--- a/envinfo/envinfo.pl Wed Jun 16 12:25:30 2010 +0100
+++ b/envinfo/envinfo.pl Mon Jun 21 16:41:04 2010 +0100
@@ -289,12 +289,12 @@
{
print "[OK]";
}
- elsif ($tool_info->{version} cmp $baselineversion < 0)
+ elsif (($tool_info->{version} cmp $baselineversion) < 0)
{
print "[WARNING: less recent than baseline]";
$cmp_diffver++;
}
- elsif ($tool_info->{version} cmp $baselineversion > 0)
+ elsif (($tool_info->{version} cmp $baselineversion) > 0)
{
print "[WARNING: more recent than baseline]";
$cmp_diffver++;