From 12aa354a5523f1a99295489f607cc83b3c3de47a Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Sat, 22 Oct 2016 13:33:54 +0100 Subject: [PATCH] lynis: rubocop tweaks. --- Formula/lynis.rb | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Formula/lynis.rb b/Formula/lynis.rb index 185fce1f7e..6e52a652af 100644 --- a/Formula/lynis.rb +++ b/Formula/lynis.rb @@ -15,15 +15,15 @@ class Lynis < Formula def install inreplace "lynis" do |s| s.gsub! 'tINCLUDE_TARGETS="/usr/local/include/lynis /usr/local/lynis/include /usr/share/lynis/include ./include"', - %(tINCLUDE_TARGETS="#{include}") + %Q(tINCLUDE_TARGETS="#{include}") s.gsub! 'tPLUGIN_TARGETS="/usr/local/lynis/plugins /usr/local/share/lynis/plugins /usr/share/lynis/plugins /etc/lynis/plugins ./plugins"', - %(tPLUGIN_TARGETS="#{prefix}/plugins") + %Q(tPLUGIN_TARGETS="#{prefix}/plugins") s.gsub! 'tDB_TARGETS="/usr/local/share/lynis/db /usr/local/lynis/db /usr/share/lynis/db ./db"', - %(tDB_TARGETS="#{prefix}/db") + %Q(tDB_TARGETS="#{prefix}/db") end inreplace "include/functions" do |s| s.gsub! 'tPROFILE_TARGETS="/usr/local/etc/lynis /etc/lynis /usr/local/lynis ."', - %(tPROFILE_TARGETS="#{prefix}") + %Q(tPROFILE_TARGETS="#{prefix}") end prefix.install "db", "include", "plugins", "default.prf"