aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorJaime Marquínez Ferrándiz2014-03-08 20:33:26 +0100
committerAdam Vandenberg2014-03-09 12:14:55 -0700
commitf26daff0c7925d61d74f58dbb6062edb2a3cae9a (patch)
treec2f7036f15073b1264f3b64c4555c26ec010fffb /Library
parentb1da51b6b84a57d88a565843e4d16f3da28edc59 (diff)
downloadhomebrew-f26daff0c7925d61d74f58dbb6062edb2a3cae9a.tar.bz2
wireshark: Fix condition for disabling the wireshark binary
Closes #27341. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/wireshark.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Formula/wireshark.rb b/Library/Formula/wireshark.rb
index ac38e3358..321772bbb 100644
--- a/Library/Formula/wireshark.rb
+++ b/Library/Formula/wireshark.rb
@@ -60,7 +60,7 @@ class Wireshark < Formula
"--with-ssl"]
args << "--disable-warnings-as-errors" if build.head?
- args << "--disable-wireshark" if build.without? "x" or build.with? "qt"
+ args << "--disable-wireshark" if build.without?("x") && build.without?("qt")
args << "--disable-gtktest" if build.without? "x"
args << "--with-qt" if build.with? "qt"