From 5f5a30b0b935f7fa0a4f4ebcc0e1617af7785f06 Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Sun, 28 May 2017 17:57:04 +0100 Subject: [PATCH] gnuplot: fix rubocop warnings. --- Formula/gnuplot.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Formula/gnuplot.rb b/Formula/gnuplot.rb index a4b9b6fa00..695eef5e11 100644 --- a/Formula/gnuplot.rb +++ b/Formula/gnuplot.rb @@ -109,8 +109,8 @@ class Gnuplot < Formula # Per upstream: "--with-tutorial is horribly out of date." args << "--without-tutorial" args << "--without-lua" if build.without? "lua" - args << ((build.with? "aquaterm") ? "--with-aquaterm" : "--without-aquaterm") - args << ((build.with? "x11") ? "--with-x" : "--without-x") + args << (build.with?("aquaterm") ? "--with-aquaterm" : "--without-aquaterm") + args << (build.with?("x11") ? "--with-x" : "--without-x") system "./prepare" if build.head? system "./configure", *args