Commit 92967e20 authored by Michael Günnewig's avatar Michael Günnewig Committed by Alexandre Julliard

Adapted winecheck to use new environment variable syntax

(ex. %HOME%).
parent 807e4af4
......@@ -346,7 +346,7 @@ sub Do_Config_Drive {
$level = $serious ? $is_failed : $is_bad;
$reason = "wrong Path format ".$path;
}
elsif ($path =~ /\$\{(.*)\}$/)
elsif ($path =~ /\%(.*)\%$/)
{
# get path assigned to environment variable
my $envpath = $ENV{$1};
......
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