aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Library/Formula/git-multipush.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/Library/Formula/git-multipush.rb b/Library/Formula/git-multipush.rb
index a6c70b4b7..431e6735a 100644
--- a/Library/Formula/git-multipush.rb
+++ b/Library/Formula/git-multipush.rb
@@ -7,10 +7,10 @@ class GitMultipush < Formula
head 'https://github.com/gavinbeatty/git-multipush.git', :revision => 'HEAD'
- depends_on 'asciidoc' => :build if ARGV.build_head?
+ depends_on 'asciidoc' => :build if build.head?
def install
- if ARGV.build_head?
+ if build.head?
ENV['GIT_DIR'] = cached_download/'.git'
inreplace 'make/gen-version.mk', '.git', '$(GIT_DIR)'
system "make"