André Hentschel : winemaker: Catch special case in Workspace file.
Module: wine Branch: master Commit: c9ff0c5382cf25ca101ce21c22e9420ccf69fb78 URL: http://source.winehq.org/git/wine.git/?a=commit;h=c9ff0c5382cf25ca101ce21c22... Author: André Hentschel <nerv(a)dawncrow.de> Date: Tue Nov 16 19:59:32 2010 +0100 winemaker: Catch special case in Workspace file. Some sln files use that as a section to keep things like changelogs, which we are not interested in. --- tools/winemaker | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/tools/winemaker b/tools/winemaker index 317b07a..bd46380 100755 --- a/tools/winemaker +++ b/tools/winemaker @@ -1186,6 +1186,7 @@ sub source_scan_workspace_file($) if (/^Project(.*)=\s*"(.*)",\s*"(.*)",\s*"(.*)"/) { $prj_name=$2; $prj_path=$3; + if ($prj_path eq "Solution Items") { next; } @components=split /[\/\\]+/, $3; $prj_path=search_from($path, \@components); print "Name: $prj_name\nPath: $prj_path\n";
participants (1)
-
Alexandre Julliard