Commit 1199d05d authored by André Hentschel's avatar André Hentschel Committed by Alexandre Julliard

winemaker: Fix project file path parsing.

parent 70fbe977
......@@ -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);
......
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