[webkitdirs] Avoid list form of open because it broke WinCairo
authorcommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 16 Jan 2016 03:57:27 +0000 (03:57 +0000)
committercommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 16 Jan 2016 03:57:27 +0000 (03:57 +0000)
https://bugs.webkit.org/show_bug.cgi?id=153106

Patch by Konstantin Tokarev <annulen@yandex.ru> on 2016-01-15
Reviewed by Alex Christensen.

* Scripts/webkitdirs.pm:
(determineArchitecture):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@195163 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Tools/ChangeLog
Tools/Scripts/webkitdirs.pm

index ce01dfe..1f9bb8d 100644 (file)
@@ -1,3 +1,13 @@
+2016-01-15  Konstantin Tokarev  <annulen@yandex.ru>
+
+        [webkitdirs] Avoid list form of open because it broke WinCairo
+        https://bugs.webkit.org/show_bug.cgi?id=153106
+
+        Reviewed by Alex Christensen.
+
+        * Scripts/webkitdirs.pm:
+        (determineArchitecture):
+
 2016-01-15  Simon Fraser  <simon.fraser@apple.com>
 
         Add kdebug_trace signposts for a few WebCore operations
index 7422f58..d0dc214 100755 (executable)
@@ -339,7 +339,7 @@ sub determineArchitecture
         }
     } elsif (isCMakeBuild()) {
         my $host_processor = "";
-        if (open my $cmake_sysinfo, "-|", "cmake", "--system-information") {
+        if (open my $cmake_sysinfo, "cmake --system-information |") {
             while (<$cmake_sysinfo>) {
                 next unless index($_, 'CMAKE_SYSTEM_PROCESSOR') == 0;
                 if (/^CMAKE_SYSTEM_PROCESSOR \"([^"]+)\"/) {