mirror of
https://github.com/reactos/wine.git
synced 2024-11-24 20:30:01 +00:00
winemaker: Replace whitespaces in projectnames.
This commit is contained in:
parent
ed786fbae4
commit
5f059edcdf
@ -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;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user