fix [ 1302878 ] testEnvironment.pl does not check versions
This commit is contained in:
parent
63a3a50b2f
commit
d23e580115
2 changed files with 5 additions and 1 deletions
|
|
@ -1,3 +1,6 @@
|
|||
6.7.6
|
||||
- fix [ 1302878 ] testEnvironment.pl does not check versions (Wouter van Oijen / ProcoliX)
|
||||
|
||||
6.7.5
|
||||
- Fixed a syntax error in Syndicated Content.
|
||||
- Fixed an infinite loop problem in Syndicated Content when no URLs were
|
||||
|
|
|
|||
|
|
@ -153,7 +153,8 @@ sub checkModule {
|
|||
my $statement = "require ".$module.";";
|
||||
if (eval($statement)) {
|
||||
$statement = '$'.$module."::VERSION";
|
||||
if (my $currentVersion = eval($statement)) {
|
||||
my $currentVersion = eval($statement);
|
||||
if ($currentVersion >= $version) {
|
||||
printResult("OK");
|
||||
} else {
|
||||
printResult("Outdated - Current: ".$currentVersion." / Required: ".$version);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue