fixed: testEnvironment.pl can't find WebGUI modules after installing a prerequisite
This commit is contained in:
parent
851471f171
commit
77d62f837f
2 changed files with 4 additions and 0 deletions
|
|
@ -14,6 +14,7 @@
|
||||||
- fixed: UserList templates use incorrect variable names
|
- fixed: UserList templates use incorrect variable names
|
||||||
- fixed: International characters in password prevents login
|
- fixed: International characters in password prevents login
|
||||||
- fixed: SelectSlider form control is broken
|
- fixed: SelectSlider form control is broken
|
||||||
|
- fixed: testEnvironment.pl can't find WebGUI modules after installing a prerequisite
|
||||||
|
|
||||||
7.6.0
|
7.6.0
|
||||||
- added: users may now customize the post received page for the CS
|
- added: users may now customize the post received page for the CS
|
||||||
|
|
|
||||||
|
|
@ -20,6 +20,7 @@ use strict;
|
||||||
use CPAN;
|
use CPAN;
|
||||||
use Getopt::Long;
|
use Getopt::Long;
|
||||||
use Pod::Usage;
|
use Pod::Usage;
|
||||||
|
use Cwd ();
|
||||||
|
|
||||||
|
|
||||||
my ($os, $prereq, $dbi, $dbDrivers, $simpleReport, $help);
|
my ($os, $prereq, $dbi, $dbDrivers, $simpleReport, $help);
|
||||||
|
|
@ -335,7 +336,9 @@ sub getOs {
|
||||||
sub installModule {
|
sub installModule {
|
||||||
my $module = shift;
|
my $module = shift;
|
||||||
print "Attempting to install ".$module."...\n";
|
print "Attempting to install ".$module."...\n";
|
||||||
|
my $cwd = Cwd::cwd;
|
||||||
CPAN::Shell->install($module);
|
CPAN::Shell->install($module);
|
||||||
|
chdir $cwd;
|
||||||
}
|
}
|
||||||
|
|
||||||
#----------------------------------------
|
#----------------------------------------
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue