gnuplot: fix rubocop warnings.

This commit is contained in:
Mike McQuaid 2017-05-28 17:57:04 +01:00
parent eabb786f82
commit 5f5a30b0b9

View file

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