From 1d15492232e57bb3f8b6f2bc8a7a41bc60d2b902 Mon Sep 17 00:00:00 2001 From: Adam Vandenberg Date: Mon, 27 Aug 2012 21:14:43 -0700 Subject: [PATCH] git-multipush: use new dsl --- Formula/git-multipush.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Formula/git-multipush.rb b/Formula/git-multipush.rb index a6c70b4b72..431e6735ae 100644 --- a/Formula/git-multipush.rb +++ b/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"