Commit 67019ae0 authored by Phil Cole's avatar Phil Cole Committed by Alexandre Julliard

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

parent a7c48b15
......@@ -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";
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment