aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/zpython.rb
diff options
context:
space:
mode:
authorJack Nagel2014-02-18 17:49:03 -0500
committerJack Nagel2014-02-18 17:49:03 -0500
commit622ea2062bcc35cd4fb2dbe7192f29d67c82f82b (patch)
treee42f4e5ba27bc500a29937c385d8052590b945c8 /Library/Formula/zpython.rb
parent0f0719bfb1e877f1fe517f23d00c797e6eaacaa5 (diff)
downloadhomebrew-622ea2062bcc35cd4fb2dbe7192f29d67c82f82b.tar.bz2
zpython: move conditional into method
Diffstat (limited to 'Library/Formula/zpython.rb')
-rw-r--r--Library/Formula/zpython.rb6
1 files changed, 4 insertions, 2 deletions
diff --git a/Library/Formula/zpython.rb b/Library/Formula/zpython.rb
index 480598ef8..274d044b7 100644
--- a/Library/Formula/zpython.rb
+++ b/Library/Formula/zpython.rb
@@ -35,8 +35,10 @@ class Zpython < Formula
def patches
# Note, non-head version is completly implemented in this lengthy patch
# later on, we hope to use https://bitbucket.org/ZyX_I/zsh.git to download a tagged release.
- {:p1 => "https://gist.github.com/felixbuenemann/5790777/raw/cb5ea3b34617174e50fd3972792ec0944959de3c/zpython.patch"}
- end unless build.head?
+ unless build.head?
+ {:p1 => "https://gist.github.com/felixbuenemann/5790777/raw/cb5ea3b34617174e50fd3972792ec0944959de3c/zpython.patch"}
+ end
+ end
def install
args = %W[