aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorChris Hoffman2010-08-12 20:58:13 -0500
committerAdam Vandenberg2010-08-12 20:06:55 -0700
commit7516142a00fd521ef35fc31adbce716259669ba6 (patch)
treeb78a74cb1ef6b5afd4d9ea5472f76df4d1bd7494 /Library
parent66d2b41c3f9802810b4f3f18a249bce05a036176 (diff)
downloadhomebrew-7516142a00fd521ef35fc31adbce716259669ba6.tar.bz2
Make git-extras work outside of /usr/local
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/git-extras.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/Library/Formula/git-extras.rb b/Library/Formula/git-extras.rb
index f9f77ba5e..d13755aea 100644
--- a/Library/Formula/git-extras.rb
+++ b/Library/Formula/git-extras.rb
@@ -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