Skip to content
This repository has been archived by the owner on Apr 7, 2023. It is now read-only.

Commit

Permalink
style(openresty) use ruby blocks consistently
Browse files Browse the repository at this point in the history
  • Loading branch information
kikito committed May 21, 2018
1 parent 402ccb0 commit e453ffe
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions Formula/openresty.rb
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,11 @@ class Openresty < Formula

def install

resource("openresty-patches").stage{ Dir["#{pwd}/patches/#{version}/*.patch"].each do | f |
system "cd", buildpath/"bundle", "&&", "patch", "-p1", "<", f
end }
resource("openresty-patches").stage do
Dir["#{pwd}/patches/#{version}/*.patch"].each do |f|
system "cd", buildpath/"bundle", "&&", "patch", "-p1", "<", f
end
end

args = [
"--prefix=#{prefix}",
Expand Down

0 comments on commit e453ffe

Please sign in to comment.