tbb: fix rubocop warnings.

This commit is contained in:
Mike McQuaid 2017-05-28 17:57:09 +01:00
parent 77a04fd60e
commit 626e4773cd

View file

@ -21,7 +21,7 @@ class Tbb < Formula
depends_on "swig" => :build
def install
compiler = ENV.compiler == :clang ? "clang" : "gcc"
compiler = (ENV.compiler == :clang) ? "clang" : "gcc"
args = %W[tbb_build_prefix=BUILDPREFIX compiler=#{compiler}]
if build.cxx11?