From 622ea2062bcc35cd4fb2dbe7192f29d67c82f82b Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Tue, 18 Feb 2014 17:49:03 -0500 Subject: zpython: move conditional into method --- Library/Formula/zpython.rb | 6 ++++-- 1 file 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[ -- cgit v1.2.3