aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdam Vandenberg2012-08-27 21:14:43 -0700
committerAdam Vandenberg2012-08-27 21:14:43 -0700
commit6aafe364dce09b54e7f9b3d06d41467adadfd79c (patch)
treee90a5a816b0cc9eec63734f8cbd8a5a03fa974b4
parent9c5b5423f69e9332fee1e031ba8f9fc9249205a8 (diff)
downloadhomebrew-6aafe364dce09b54e7f9b3d06d41467adadfd79c.tar.bz2
git-multipush: use new dsl
-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"