Title: [174521] trunk/Tools
Revision
174521
Author
commit-qu...@webkit.org
Date
2014-10-09 12:52:04 -0700 (Thu, 09 Oct 2014)

Log Message

Get the patch scripts running on Haiku
https://bugs.webkit.org/show_bug.cgi?id=137559

Patch by Adrien Destugues <pulkoma...@gmail.com> on 2014-10-09
Reviewed by Benjamin Poulain.

Use /usr/bin/env instead of hardcoding path to perl.
Declare haiku platform in platforminfo.py to avoid check-webkit-style
failure.

* Scripts/commit-log-editor:
* Scripts/num-cpus:
* Scripts/prepare-ChangeLog:
* Scripts/run-launcher:
* Scripts/svn-create-patch:
* Scripts/webkitpy/common/system/platforminfo.py:
(PlatformInfo._determine_os_name):

Modified Paths

Diff

Modified: trunk/Tools/ChangeLog (174520 => 174521)


--- trunk/Tools/ChangeLog	2014-10-09 19:26:02 UTC (rev 174520)
+++ trunk/Tools/ChangeLog	2014-10-09 19:52:04 UTC (rev 174521)
@@ -1,3 +1,22 @@
+2014-10-09  Adrien Destugues  <pulkoma...@gmail.com>
+
+        Get the patch scripts running on Haiku
+        https://bugs.webkit.org/show_bug.cgi?id=137559
+
+        Reviewed by Benjamin Poulain.
+
+        Use /usr/bin/env instead of hardcoding path to perl.
+        Declare haiku platform in platforminfo.py to avoid check-webkit-style
+        failure.
+
+        * Scripts/commit-log-editor:
+        * Scripts/num-cpus:
+        * Scripts/prepare-ChangeLog:
+        * Scripts/run-launcher:
+        * Scripts/svn-create-patch:
+        * Scripts/webkitpy/common/system/platforminfo.py:
+        (PlatformInfo._determine_os_name):
+
 2014-10-08  Jake Nielsen  <jacob_niel...@apple.com>
 
         StyleQueue should throw a PatchIsNotValid exception to achieve

Modified: trunk/Tools/Scripts/commit-log-editor (174520 => 174521)


--- trunk/Tools/Scripts/commit-log-editor	2014-10-09 19:26:02 UTC (rev 174520)
+++ trunk/Tools/Scripts/commit-log-editor	2014-10-09 19:52:04 UTC (rev 174521)
@@ -1,4 +1,4 @@
-#!/usr/bin/perl -w
+#!/usr/bin/env perl -w
 
 # Copyright (C) 2006, 2007, 2008, 2009, 2010 Apple Inc.  All rights reserved.
 # Copyright (C) 2009 Torch Mobile Inc. All rights reserved.

Modified: trunk/Tools/Scripts/num-cpus (174520 => 174521)


--- trunk/Tools/Scripts/num-cpus	2014-10-09 19:26:02 UTC (rev 174520)
+++ trunk/Tools/Scripts/num-cpus	2014-10-09 19:52:04 UTC (rev 174521)
@@ -1,4 +1,4 @@
-#!/usr/bin/perl -w
+#!/usr/bin/env perl -w
 use strict;
 use FindBin;
 use lib $FindBin::Bin;

Modified: trunk/Tools/Scripts/prepare-ChangeLog (174520 => 174521)


--- trunk/Tools/Scripts/prepare-ChangeLog	2014-10-09 19:26:02 UTC (rev 174520)
+++ trunk/Tools/Scripts/prepare-ChangeLog	2014-10-09 19:52:04 UTC (rev 174521)
@@ -1,4 +1,4 @@
-#!/usr/bin/perl -w
+#!/usr/bin/env perl -w
 # -*- Mode: perl; indent-tabs-mode: nil; c-basic-offset: 2  -*-
 
 #

Modified: trunk/Tools/Scripts/run-launcher (174520 => 174521)


--- trunk/Tools/Scripts/run-launcher	2014-10-09 19:26:02 UTC (rev 174520)
+++ trunk/Tools/Scripts/run-launcher	2014-10-09 19:52:04 UTC (rev 174521)
@@ -1,4 +1,4 @@
-#!/usr/bin/perl -w
+#!/usr/bin/env perl -w
 
 # Copyright (C) 2007, 2013 Apple Inc.  All rights reserved.
 # Copyright (C) 2007 Staikos Computing Services, Inc.  <i...@staikos.net>

Modified: trunk/Tools/Scripts/svn-create-patch (174520 => 174521)


--- trunk/Tools/Scripts/svn-create-patch	2014-10-09 19:26:02 UTC (rev 174520)
+++ trunk/Tools/Scripts/svn-create-patch	2014-10-09 19:52:04 UTC (rev 174521)
@@ -1,4 +1,4 @@
-#!/usr/bin/perl -w
+#!/usr/bin/env perl -w
 
 # Copyright (C) 2005, 2006 Apple Inc.  All rights reserved.
 #

Modified: trunk/Tools/Scripts/webkitpy/common/system/platforminfo.py (174520 => 174521)


--- trunk/Tools/Scripts/webkitpy/common/system/platforminfo.py	2014-10-09 19:26:02 UTC (rev 174520)
+++ trunk/Tools/Scripts/webkitpy/common/system/platforminfo.py	2014-10-09 19:52:04 UTC (rev 174521)
@@ -129,6 +129,8 @@
             return 'freebsd'
         if sys_platform.startswith('openbsd'):
             return 'openbsd'
+        if sys_platform.startswith('haiku'):
+            return 'haiku'
         raise AssertionError('unrecognized platform string "%s"' % sys_platform)
 
     def _determine_mac_version(self, mac_version_string):
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to