aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula')
-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"