fixed: testEnvironment.pl can't find WebGUI modules after installing a prerequisite

This commit is contained in:
Graham Knop 2008-10-06 08:10:03 +00:00
parent 851471f171
commit 77d62f837f
2 changed files with 4 additions and 0 deletions

View file

@ -14,6 +14,7 @@
- fixed: UserList templates use incorrect variable names
- fixed: International characters in password prevents login
- fixed: SelectSlider form control is broken
- fixed: testEnvironment.pl can't find WebGUI modules after installing a prerequisite
7.6.0
- added: users may now customize the post received page for the CS

View file

@ -20,6 +20,7 @@ use strict;
use CPAN;
use Getopt::Long;
use Pod::Usage;
use Cwd ();
my ($os, $prereq, $dbi, $dbDrivers, $simpleReport, $help);
@ -335,7 +336,9 @@ sub getOs {
sub installModule {
my $module = shift;
print "Attempting to install ".$module."...\n";
my $cwd = Cwd::cwd;
CPAN::Shell->install($module);
chdir $cwd;
}
#----------------------------------------