Bug 132826 - [Win] Correct Cygwin Path Confusion in WebInspectorUI Build
Summary: [Win] Correct Cygwin Path Confusion in WebInspectorUI Build
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Web Inspector (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Brent Fulgham
URL:
Keywords: InRadar
Depends on: 132023
Blocks:
  Show dependency treegraph
 
Reported: 2014-05-12 10:25 PDT by Brent Fulgham
Modified: 2014-05-12 15:20 PDT (History)
6 users (show)

See Also:


Attachments
Patch (3.26 KB, patch)
2014-05-12 10:28 PDT, Brent Fulgham
no flags Details | Formatted Diff | Diff
Patch (3.39 KB, patch)
2014-05-12 10:35 PDT, Brent Fulgham
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Brent Fulgham 2014-05-12 10:25:33 PDT
Cygwin's Python 2.7 requires very specific path handling to work around some nuances in the way the Python distribution is installed under Cygwin (see Bug 132023 for details, as well as <http://trac.webkit.org/changeset/167685>).

This patch corrects another place in our build system where we are not explicit about where to find Python under Cygwin.
Comment 1 Radar WebKit Bug Importer 2014-05-12 10:26:25 PDT
<rdar://problem/16885618>
Comment 2 Radar WebKit Bug Importer 2014-05-12 10:26:28 PDT
<rdar://problem/16885619>
Comment 3 Brent Fulgham 2014-05-12 10:28:54 PDT
Created attachment 231305 [details]
Patch
Comment 4 Joseph Pecoraro 2014-05-12 10:32:32 PDT
Comment on attachment 231305 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=231305&action=review

r=me

> Source/WebInspectorUI/Scripts/copy-user-interface-resources.pl:79
> +my $python = ($^O =~ /cygwin/) ? "/usr/bin/python" : "python";

Nit: Would be nice to have a more readable for of "$^O". Since off-hand I have no idea what it means.
Comment 5 Joseph Pecoraro 2014-05-12 10:33:01 PDT
Comment on attachment 231305 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=231305&action=review

>> Source/WebInspectorUI/Scripts/copy-user-interface-resources.pl:79
>> +my $python = ($^O =~ /cygwin/) ? "/usr/bin/python" : "python";
> 
> Nit: Would be nice to have a more readable for of "$^O". Since off-hand I have no idea what it means.

s/for of/version of/
Comment 6 Brent Fulgham 2014-05-12 10:35:25 PDT
Created attachment 231306 [details]
Patch
Comment 7 Joseph Pecoraro 2014-05-12 10:38:42 PDT
Comment on attachment 231306 [details]
Patch

Much nicer! Thanks. r=me
Comment 8 WebKit Commit Bot 2014-05-12 15:20:05 PDT
Comment on attachment 231306 [details]
Patch

Clearing flags on attachment: 231306

Committed r168648: <http://trac.webkit.org/changeset/168648>
Comment 9 WebKit Commit Bot 2014-05-12 15:20:09 PDT
All reviewed patches have been landed.  Closing bug.