Changeset 141646 in webkit


Ignore:
Timestamp:
Feb 1, 2013 2:46:16 PM (11 years ago)
Author:
commit-queue@webkit.org
Message:

Allow prettify.rb to be run from any directory, and don't hard-code the system ruby path
https://bugs.webkit.org/show_bug.cgi?id=108569

Patch by Nathan de Vries <ndevries@apple.com> on 2013-02-01
Reviewed by Joseph Pecoraro.

  • PrettyPatch/prettify.rb:
Location:
trunk/Websites/bugs.webkit.org
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Websites/bugs.webkit.org/ChangeLog

    r138768 r141646  
     12013-02-01  Nathan de Vries  <ndevries@apple.com>
     2
     3        Allow prettify.rb to be run from any directory, and don't hard-code the system ruby path
     4        https://bugs.webkit.org/show_bug.cgi?id=108569
     5
     6        Reviewed by Joseph Pecoraro.
     7
     8        * PrettyPatch/prettify.rb:
     9
    1102013-01-03  James Robinson  <jamesr@chromium.org>
    211
  • trunk/Websites/bugs.webkit.org/PrettyPatch/prettify.rb

    r34173 r141646  
    1 #!/usr/bin/ruby
     1#!/usr/bin/env ruby
     2
     3require 'optparse'
     4require 'pathname'
     5require 'webrick/htmlutils'
     6
     7$LOAD_PATH << Pathname.new(__FILE__).dirname.realpath.to_s
    28
    39require 'PrettyPatch'
    4 require 'optparse'
    5 require 'webrick/htmlutils'
    610
    711BACKTRACE_SEPARATOR = "\n\tfrom "
Note: See TracChangeset for help on using the changeset viewer.