pgplot: fix rubocop warnings.

This commit is contained in:
Mike McQuaid 2017-05-28 17:57:07 +01:00
parent 1bc6fddf37
commit 652fed8fb3

View file

@ -74,8 +74,8 @@ class Pgplot < Formula
mkdir "build" do
# activate drivers
cp "../drivers.list", "."
["GIF", "VGIF", "LATEX", "PNG", "TPNG", "PS",
"VPS", "CPS", "VCPS", "XWINDOW", "XSERVE"].each do |drv|
%w[GIF VGIF LATEX PNG TPNG PS
VPS CPS VCPS XWINDOW XSERVE].each do |drv|
inreplace "drivers.list", %r{^! (.*\/#{drv} .*)}, ' \1'
end