From 3699cdd4f6b542f97d065304dcccaef1a5b06274 Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Sat, 14 Feb 2015 16:32:24 -0500 Subject: Remove GIT_DIR hacks (head) --- Library/Formula/fish.rb | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'Library/Formula/fish.rb') 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" -- cgit v1.2.3