aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorAdam Vandenberg2012-08-27 21:42:31 -0700
committerAdam Vandenberg2012-08-27 21:42:31 -0700
commit8aad6616d7b49913ced9beaffa8ba4ff1fd80cb3 (patch)
tree6b8802bf95b492b27feb1b0d8d0fcca37a1005a4 /Library
parent03c4887bd5bbecbf36662d70ddc3176a39970210 (diff)
downloadhomebrew-8aad6616d7b49913ced9beaffa8ba4ff1fd80cb3.tar.bz2
fish: use new dsl
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/fish.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/Library/Formula/fish.rb b/Library/Formula/fish.rb
index 5e59bfac5..eaf1cef65 100644
--- a/Library/Formula/fish.rb
+++ b/Library/Formula/fish.rb
@@ -8,8 +8,8 @@ class Fish < Formula
head 'git://gitorious.org/fish-shell/fish-shell.git'
# Indeed, the head build always builds documentation
- depends_on 'doxygen' => :build if ARGV.build_head?
- depends_on :autoconf if ARGV.build_head?
+ depends_on 'doxygen' => :build if build.head?
+ depends_on :autoconf if build.head?
depends_on 'readline'
skip_clean 'share/doc'
@@ -18,7 +18,7 @@ class Fish < Formula
def patches
p = []
- unless ARGV.build_head?
+ unless build.head?
# Reduces the timeout in select_try() from 5s to 10ms.
# The old timeout would cause fish to frequently freeze for a 5
# second period.
@@ -27,7 +27,7 @@ class Fish < Formula
end
def install
- system "autoconf" if ARGV.build_head?
+ system "autoconf" if build.head?
system "./configure", "--prefix=#{prefix}", "--without-xsel"
system "make install"
end