Better handling of configuration with several Windows installations.

This commit is contained in:
Gerard Patel 2001-12-04 19:38:46 +00:00 committed by Alexandre Julliard
parent 0889bfa503
commit 322d087335
1 changed files with 2 additions and 2 deletions

View File

@ -146,6 +146,7 @@ sub FindWindowsDir {
my(@FATD)=@::FatDrives;
my(@wininis) = ();
my ($winini);
my ($ThisDrive);
if (!$::opt_windir && !$::opt_fast && !$::opt_thorough) {
$::opt_thorough++;
@ -161,8 +162,7 @@ sub FindWindowsDir {
}
elsif ($::opt_thorough) {
if ($::opt_debug) { print STDERR "DEBUG: Num FATD = ", $#FATD+1, "\n"; }
foreach(@FATD) {
my $ThisDrive = shift(@FATD);
foreach $ThisDrive (@FATD) {
my $MntPoint = $ThisDrive->[1];
push(@wininis, `find $MntPoint -iname win.ini -print`);
}