=?UTF-8?Q?Andr=C3=A9=20Hentschel=20?=: winemaker: Respect more spaces when splitting the options.

Alexandre Julliard julliard at winehq.org
Mon Nov 21 11:10:05 CST 2011


Module: wine
Branch: master
Commit: b40c5f2d2c20a9037a002e1a404e278b56df67f7
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=b40c5f2d2c20a9037a002e1a404e278b56df67f7

Author: André Hentschel <nerv at dawncrow.de>
Date:   Sat Nov 19 19:41:38 2011 +0100

winemaker: Respect more spaces when splitting the options.

---

 tools/winemaker |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/tools/winemaker b/tools/winemaker
index 2ee79ea..64e92bd 100755
--- a/tools/winemaker
+++ b/tools/winemaker
@@ -604,7 +604,7 @@ sub source_scan_project_file($$$)
                 next;
             } elsif (/^# ADD CPP(.*)/ && $found_cfg==1) {
                 $prj_target_cflags=$1;
-                @prj_target_options=split(" /", $prj_target_cflags);
+                @prj_target_options=split(/\s+\//, $prj_target_cflags);
                 $prj_target_cflags="";
                 foreach ( @prj_target_options ) {
                     if ($_ eq "") {
@@ -736,7 +736,7 @@ sub source_scan_project_file($$$)
                 next;
             } elsif (/^# ADD LINK32(.*)/ && $found_cfg==1) {
                 $prj_target_ldflags=$1;
-                @prj_target_options=split(" /", $prj_target_ldflags);
+                @prj_target_options=split(/\s+\//, $prj_target_ldflags);
                 $prj_target_ldflags="";
                 $prj_target_libs=$prj_target_options[0];
                 $prj_target_libs=~s/\\/\//g;




More information about the wine-cvs mailing list