winemaker: Catch special case in Workspace file

André Hentschel nerv at dawncrow.de
Tue Nov 16 12:59:32 CST 2010


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";
-- 

Best Regards, André Hentschel



More information about the wine-patches mailing list