mirror of
https://github.com/reactos/wine.git
synced 2024-11-25 20:59:54 +00:00
Adapted winecheck to use new environment variable syntax
(ex. %HOME%).
This commit is contained in:
parent
807e4af46e
commit
92967e2044
@ -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};
|
||||
|
Loading…
Reference in New Issue
Block a user