Bug 153106 - [webkitdirs] Replaced grep invocation with perl code
Summary: [webkitdirs] Replaced grep invocation with perl code
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Tools / Tests (show other bugs)
Version: WebKit Local Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-01-14 13:50 PST by Konstantin Tokarev
Modified: 2016-01-15 19:57 PST (History)
5 users (show)

See Also:


Attachments
Patch (1.76 KB, patch)
2016-01-14 13:51 PST, Konstantin Tokarev
no flags Details | Formatted Diff | Diff
Patch (1.29 KB, patch)
2016-01-15 07:30 PST, Konstantin Tokarev
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Konstantin Tokarev 2016-01-14 13:50:51 PST
As proposed in https://bugs.webkit.org/show_bug.cgi?id=152959#c9

Also, removed outdated comment.
Comment 1 Konstantin Tokarev 2016-01-14 13:51:59 PST
Created attachment 269000 [details]
Patch
Comment 2 WebKit Commit Bot 2016-01-14 16:50:29 PST
Comment on attachment 269000 [details]
Patch

Clearing flags on attachment: 269000

Committed r195083: <http://trac.webkit.org/changeset/195083>
Comment 3 WebKit Commit Bot 2016-01-14 16:50:32 PST
All reviewed patches have been landed.  Closing bug.
Comment 4 Csaba Osztrogonác 2016-01-15 06:06:28 PST
(In reply to comment #2)
> Comment on attachment 269000 [details]
> Patch
> 
> Clearing flags on attachment: 269000
> 
> Committed r195083: <http://trac.webkit.org/changeset/195083>

It broke the WinCairo build:

List form of pipe open not implemented at C:/Users/Alex/Documents/WinCairoBot/win-cairo-release/build/Tools/Scripts/webkitdirs.pm line 342.
Compilation failed in require at ./Tools/Scripts/build-webkit line 44.
BEGIN failed--compilation aborted at ./Tools/Scripts/build-webkit line 44.
Comment 5 Konstantin Tokarev 2016-01-15 06:23:55 PST
I guess different Perl versions are used in WinCairo and Win builders.

However, this is very easy to fix, I just wasn't aware that list form of open has portability issues
Comment 6 Konstantin Tokarev 2016-01-15 07:30:53 PST
Reopening to attach new patch.
Comment 7 Konstantin Tokarev 2016-01-15 07:30:57 PST
Created attachment 269050 [details]
Patch
Comment 8 WebKit Commit Bot 2016-01-15 19:57:40 PST
Comment on attachment 269050 [details]
Patch

Clearing flags on attachment: 269050

Committed r195163: <http://trac.webkit.org/changeset/195163>
Comment 9 WebKit Commit Bot 2016-01-15 19:57:43 PST
All reviewed patches have been landed.  Closing bug.