From fb915029dd8fac0e10aaa6a1b36df657822fef7a Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Sat, 2 Mar 2013 08:51:48 +0000 Subject: git: use `build.with?`. --- Library/Formula/git.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Library/Formula/git.rb') diff --git a/Library/Formula/git.rb b/Library/Formula/git.rb index e58027913..dac3020c8 100644 --- a/Library/Formula/git.rb +++ b/Library/Formula/git.rb @@ -35,7 +35,7 @@ class Git < Formula # Clean XCode 4.x installs don't include Perl MakeMaker ENV['NO_PERL_MAKEMAKER'] = '1' if MacOS.version >= :lion - ENV['BLK_SHA1'] = '1' if build.include? 'with-blk-sha1' + ENV['BLK_SHA1'] = '1' if build.with? 'blk-sha1' if build.with? 'pcre' ENV['USE_LIBPCRE'] = '1' @@ -65,7 +65,7 @@ class Git < Formula bin.install 'git-subtree' end - unless build.include? 'without-completions' + unless build.without? 'completions' # install the completion script first because it is inside 'contrib' bash_completion.install 'contrib/completion/git-completion.bash' bash_completion.install 'contrib/completion/git-prompt.sh' -- cgit v1.2.3