aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/git-multipush.rb
diff options
context:
space:
mode:
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