From 67019ae03da8ba80478a1eeacb38f52062cfc444 Mon Sep 17 00:00:00 2001 From: Phil Cole Date: Thu, 31 Aug 2000 02:07:57 +0000 Subject: [PATCH] The Path variable in the created .winerc must be in dos format. --- tools/wineconf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/wineconf b/tools/wineconf index dd02b0cbf3..a1c3b1b55f 100755 --- a/tools/wineconf +++ b/tools/wineconf @@ -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"; }