Fix modules check

This commit is contained in:
Jamie Cameron
2009-05-20 22:13:03 +00:00
parent e39440bdb7
commit 3191b2a070

View File

@@ -51,7 +51,6 @@ if ($ARGV[0]) {
else {
print "Installing Webmin in $wadir ...\n"
}
chdir($wadir);
# Work out perl library path
$ENV{'PERLLIB'} = $wadir;
@@ -67,6 +66,8 @@ if (!@allmods) {
$allmods = join(" ", @allmods);
print "\n";
chdir($wadir);
# Load package-defined variable overrides
if (-r "$srcdir/setup-pre.pl") {
require "$srcdir/setup-pre.pl";