aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorJack Nagel2014-08-28 23:54:00 -0500
committerJack Nagel2014-08-28 23:54:00 -0500
commitae0b527d54f1660a8917ffd4cb02b8b5cdcf7c18 (patch)
tree14c035bf6c08b0f5d14d593c8a0a518654a47c24 /Library/Formula
parentad70f7a5378d7f34cdb05c56e8065db5fec14e6f (diff)
downloadhomebrew-ae0b527d54f1660a8917ffd4cb02b8b5cdcf7c18.tar.bz2
Single character options should not be used in a formula
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/zookeeper.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/Library/Formula/zookeeper.rb b/Library/Formula/zookeeper.rb
index 6a2558aa9..3abaf4d5f 100644
--- a/Library/Formula/zookeeper.rb
+++ b/Library/Formula/zookeeper.rb
@@ -19,7 +19,7 @@ class Zookeeper < Formula
depends_on "libtool" => :build
end
- option "c", "Build C bindings"
+ option "with-c", "Build C bindings"
option "perl", "Build Perl bindings"
depends_on :ant => :build
@@ -69,7 +69,7 @@ class Zookeeper < Formula
end
build_perl = build.include? "perl"
- build_c = build.with?('python') || build_perl || build.include?("c")
+ build_c = build.with?('python') || build_perl || build.with?("c")
# Build & install C libraries.
cd "src/c" do