Make git-extras work outside of /usr/local

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
master
Chris Hoffman 2010-08-12 20:58:13 -05:00 committed by Adam Vandenberg
parent 87e95d778f
commit c259923271
1 changed files with 3 additions and 1 deletions

View File

@ -8,6 +8,8 @@ class GitExtras <Formula
homepage 'http://github.com/visionmedia/git-extras'
def install
system "make", "prefix=#{prefix}", "install"
inreplace 'Makefile', '/usr/local', prefix
bin.mkpath
system "make", "install"
end
end