aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/fish.rb
diff options
context:
space:
mode:
authorJack Nagel2015-02-14 16:32:24 -0500
committerJack Nagel2015-02-14 16:32:24 -0500
commit3699cdd4f6b542f97d065304dcccaef1a5b06274 (patch)
treeb1f8c3c6f8e031b307771f5dd963a9cc8996f220 /Library/Formula/fish.rb
parent92819384f3714ec7f024e2eb1ca2473c3a19b7a2 (diff)
downloadhomebrew-3699cdd4f6b542f97d065304dcccaef1a5b06274.tar.bz2
Remove GIT_DIR hacks (head)
Diffstat (limited to 'Library/Formula/fish.rb')
-rw-r--r--Library/Formula/fish.rb7
1 files changed, 1 insertions, 6 deletions
diff --git a/Library/Formula/fish.rb b/Library/Formula/fish.rb
index fa77c76b3..834d4c649 100644
--- a/Library/Formula/fish.rb
+++ b/Library/Formula/fish.rb
@@ -1,5 +1,3 @@
-require "formula"
-
class Fish < Formula
homepage "http://fishshell.com"
url "https://github.com/fish-shell/fish-shell/releases/download/2.1.1/fish-2.1.1.tar.gz"
@@ -22,10 +20,7 @@ class Fish < Formula
skip_clean "share/doc"
def install
- if build.head?
- ENV['GIT_DIR'] = cached_download/'.git'
- system "autoconf"
- end
+ system "autoconf" if build.head?
# In Homebrew's 'superenv' sed's path will be incompatible, so
# the correct path is passed into configure here.
system "./configure", "--prefix=#{prefix}", "SED=/usr/bin/sed"