git-multipush: setting GIT_DIR is now unnecessary

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
master
Jack Nagel 2012-02-28 18:34:06 -06:00
parent 8f4f94011b
commit 34601ee38f
1 changed files with 2 additions and 4 deletions

View File

@ -1,18 +1,16 @@
require 'formula'
class GitMultipush < Formula
url 'http://git-multipush.googlecode.com/files/git-multipush-2.3.tar.bz2'
homepage 'http://code.google.com/p/git-multipush/'
url 'http://git-multipush.googlecode.com/files/git-multipush-2.3.tar.bz2'
sha1 'a53f171af5e794afe9b1de6ccd9bd0661db6fd91'
head 'https://github.com/gavinbeatty/git-multipush.git', :sha => 'HEAD'
depends_on 'asciidoc' => :build if ARGV.build_head?
# Not depending on git because people might have it
# installed through another means
def install
if ARGV.build_head?
ENV['GIT_DIR'] = cached_download+'.git'
inreplace 'make/gen-version.mk', '.git', '$(GIT_DIR)'
system "make"
end