The Path variable in the created .winerc must be in dos format.
This commit is contained in:
parent
a7c48b1549
commit
67019ae03d
|
@ -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";
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue