aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/node.rb
diff options
context:
space:
mode:
authorJack Nagel2012-03-15 17:20:25 -0500
committerJack Nagel2012-03-15 17:20:25 -0500
commit3b771d09e48f4dfa88ef4c5d32f3b84ca2ae18ec (patch)
treeb4818f7428913eb237f02378f72745149889e9b8 /Library/Formula/node.rb
parent9d3b181c86ceb5915d0e907c5736d4825659f8fe (diff)
downloadhomebrew-3b771d09e48f4dfa88ef4c5d32f3b84ca2ae18ec.tar.bz2
Don't shadow `install` options in formulae
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library/Formula/node.rb')
-rw-r--r--Library/Formula/node.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/Library/Formula/node.rb b/Library/Formula/node.rb
index 20f547dc6..d3d348c55 100644
--- a/Library/Formula/node.rb
+++ b/Library/Formula/node.rb
@@ -21,7 +21,7 @@ class Node < Formula
skip_clean :all
def options
- [["--debug", "Build with debugger hooks."]]
+ [["--enable-debug", "Build with debugger hooks."]]
end
def install
@@ -34,7 +34,7 @@ class Node < Formula
# Why skip npm install? Read https://github.com/mxcl/homebrew/pull/8784.
args = ["--prefix=#{prefix}", "--without-npm"]
- args << "--debug" if ARGV.include? '--debug'
+ args << "--debug" if ARGV.include? '--enable-debug'
system "./configure", *args
system "make install"