The Path variable in the created .winerc must be in dos format.

This commit is contained in:
Phil Cole 2000-08-31 02:07:57 +00:00 committed by Alexandre Julliard
parent a7c48b1549
commit 67019ae03d
1 changed files with 2 additions and 2 deletions

View File

@ -321,11 +321,11 @@ sub ReadAutoexecBat {
}
foreach my $command (@::DOScommand) {
$command =~ s%[^/]+$%%;
$::DOSexecdir{$command}++;
$::DOSexecdir{&ToDos($command)}++;
}
print "path=" .
join(";",
grep(s%/$%%,
grep(s%\\$%%,
sort {$::DOSexecdir{$b} <=> $::DOSexecdir{$a}}
(keys %::DOSexecdir))) . "\n";
}