mirror of
https://github.com/reactos/wine.git
synced 2025-02-08 05:08:16 +00:00
winemaker: Fix project file path parsing.
This commit is contained in:
parent
70fbe9770a
commit
1199d05d59
@ -1096,10 +1096,11 @@ sub source_scan_workspace_file($)
|
||||
s/\r\n$/\n/;
|
||||
|
||||
# catch a project definition
|
||||
if (/^Project:\s\"(.*)\"=(.*)\s-/) {
|
||||
if (/^Project:\s\"(.*)\"=\"?(.*)\s-/) {
|
||||
$prj_name=$1;
|
||||
$prj_path=$2;
|
||||
@components=split /[\/\\]+/, $2;
|
||||
$prj_path=~s/\"$//;
|
||||
@components=split /[\/\\]+/, $prj_path;
|
||||
$prj_path=search_from($path, \@components);
|
||||
print "Name: $prj_name\nPath: $prj_path\n";
|
||||
source_scan_project_file(\@main_project,1,$prj_path);
|
||||
|
Loading…
x
Reference in New Issue
Block a user