Adapted winecheck to use new environment variable syntax

(ex. %HOME%).
This commit is contained in:
Michael Günnewig 2003-09-22 19:28:46 +00:00 committed by Alexandre Julliard
parent 807e4af46e
commit 92967e2044

View File

@ -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};