From f26daff0c7925d61d74f58dbb6062edb2a3cae9a Mon Sep 17 00:00:00 2001 From: Jaime Marquínez Ferrándiz Date: Sat, 8 Mar 2014 20:33:26 +0100 Subject: wireshark: Fix condition for disabling the wireshark binary Closes #27341. Signed-off-by: Adam Vandenberg --- Library/Formula/wireshark.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Library/Formula') 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" -- cgit v1.2.3