wireshark: Fix condition for disabling the wireshark binary

Closes Homebrew/homebrew#27341.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
This commit is contained in:
Jaime Marquínez Ferrándiz 2014-03-08 20:33:26 +01:00 committed by Adam Vandenberg
parent 455499bfdf
commit 609f6c3de5

View file

@ -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"