aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/git-multipush.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/git-multipush.rb
parent92819384f3714ec7f024e2eb1ca2473c3a19b7a2 (diff)
downloadhomebrew-3699cdd4f6b542f97d065304dcccaef1a5b06274.tar.bz2
Remove GIT_DIR hacks (head)
Diffstat (limited to 'Library/Formula/git-multipush.rb')
-rw-r--r--Library/Formula/git-multipush.rb8
1 files changed, 1 insertions, 7 deletions
diff --git a/Library/Formula/git-multipush.rb b/Library/Formula/git-multipush.rb
index 17fda8581..89e4d1ac9 100644
--- a/Library/Formula/git-multipush.rb
+++ b/Library/Formula/git-multipush.rb
@@ -1,5 +1,3 @@
-require 'formula'
-
class GitMultipush < Formula
homepage 'http://code.google.com/p/git-multipush/'
url 'https://git-multipush.googlecode.com/files/git-multipush-2.3.tar.bz2'
@@ -16,11 +14,7 @@ class GitMultipush < Formula
depends_on 'asciidoc' => :build
def install
- if build.head?
- ENV['GIT_DIR'] = cached_download/'.git'
- inreplace 'make/gen-version.mk', '.git', '$(GIT_DIR)'
- system "make"
- end
+ system "make" if build.head?
system "make", "prefix=#{prefix}", "install"
end
end