From 5f059edcdf96277ce0b17416d4020c052696c766 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Hentschel?= Date: Sat, 21 Nov 2009 18:13:44 +0100 Subject: [PATCH] winemaker: Replace whitespaces in projectnames. --- tools/winemaker | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tools/winemaker b/tools/winemaker index e077db282e..4cd46ff3ac 100755 --- a/tools/winemaker +++ b/tools/winemaker @@ -582,6 +582,7 @@ sub source_scan_project_file($$$) if (/^\# Microsoft Developer Studio Project File - Name=\"([^\"]+)/) { $prj_name="$1"; + $prj_name=~s/\s+/_/g; #print $prj_name; next; } elsif (/^# TARGTYPE/) { @@ -852,6 +853,7 @@ sub source_scan_project_file($$$) foreach my $vc_project_attr ($vc_project->attributes) { if ($vc_project_attr->getName eq "Name") { $prj_name=$vc_project_attr->getValue; + $prj_name=~s/\s+/_/g; last; } }