Title: [157923] trunk/Tools
Revision
157923
Author
[email protected]
Date
2013-10-24 05:26:41 -0700 (Thu, 24 Oct 2013)

Log Message

Fix argument passing for jhbuild.
https://bugs.webkit.org/show_bug.cgi?id=123253

Patch by Peter Molnar <[email protected]> on 2013-10-24
Reviewed by Gustavo Noronha Silva.

The update-webkit-libs-jhbuild previously didn't allowed
extra arguments to be passed to jhbuild.

* Scripts/update-webkit-libs-jhbuild:
(runJhbuild):
* Scripts/update-webkitefl-libs:

Modified Paths

Diff

Modified: trunk/Tools/ChangeLog (157922 => 157923)


--- trunk/Tools/ChangeLog	2013-10-24 11:41:57 UTC (rev 157922)
+++ trunk/Tools/ChangeLog	2013-10-24 12:26:41 UTC (rev 157923)
@@ -1,3 +1,17 @@
+2013-10-24  Peter Molnar  <[email protected]>
+
+        Fix argument passing for jhbuild.
+        https://bugs.webkit.org/show_bug.cgi?id=123253
+
+        Reviewed by Gustavo Noronha Silva.
+
+        The update-webkit-libs-jhbuild previously didn't allowed
+        extra arguments to be passed to jhbuild.
+
+        * Scripts/update-webkit-libs-jhbuild:
+        (runJhbuild):
+        * Scripts/update-webkitefl-libs:
+
 2013-10-24  Sanghyup Lee  <[email protected]>
 
         [EFL] Compilation warning in DumpRenderTreeView.cpp on 64-Bit

Modified: trunk/Tools/Scripts/update-webkit-libs-jhbuild (157922 => 157923)


--- trunk/Tools/Scripts/update-webkit-libs-jhbuild	2013-10-24 11:41:57 UTC (rev 157922)
+++ trunk/Tools/Scripts/update-webkit-libs-jhbuild	2013-10-24 12:26:41 UTC (rev 157923)
@@ -19,7 +19,7 @@
 use FindBin;
 use lib $FindBin::Bin;
 use webkitdirs;
-use Getopt::Long;
+use Getopt::Long qw(:config pass_through);
 
 my $platformEfl = 0;
 my $platformGtk = 0;
@@ -97,7 +97,7 @@
 {
     my $command = shift;
     my @jhbuildArgs = ("./jhbuild-wrapper", "--".$platform, $command);
-    push(@jhbuildArgs, @ARGV[2..-1]);
+    push(@jhbuildArgs, @ARGV[0..$#ARGV]);
     system(@jhbuildArgs) == 0 or die "Running jhbuild-wrapper " . $command . " failed.\n";
 }
 

Modified: trunk/Tools/Scripts/update-webkitefl-libs (157922 => 157923)


--- trunk/Tools/Scripts/update-webkitefl-libs	2013-10-24 11:41:57 UTC (rev 157922)
+++ trunk/Tools/Scripts/update-webkitefl-libs	2013-10-24 12:26:41 UTC (rev 157923)
@@ -20,4 +20,4 @@
 use webkitdirs;
 
 my $scriptsDir = relativeScriptsDir();
-system("perl", "$scriptsDir/update-webkit-libs-jhbuild", "--efl") == 0 or die $!;
+system("perl", "$scriptsDir/update-webkit-libs-jhbuild", "--efl", @ARGV) == 0 or die $!;
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to