aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/mg.rb5
1 files changed, 3 insertions, 2 deletions
diff --git a/Library/Formula/mg.rb b/Library/Formula/mg.rb
index 3a1ee3dc6..7c71b5871 100644
--- a/Library/Formula/mg.rb
+++ b/Library/Formula/mg.rb
@@ -6,7 +6,8 @@ class Mg < Formula
md5 '5cdd46b226586306bde2dd5d47920d66'
def install
- system "make prefix=#{prefix}"
- system "make install prefix=#{prefix}"
+ system "make PREFIX=#{prefix}"
+ bin.mkpath # otherwise install copies 'mg' to 'bin'
+ system "make install PREFIX=#{prefix}"
end
end