nu: fix rubocop warnings.

This commit is contained in:
Mike McQuaid 2017-05-28 17:57:07 +01:00
parent 4af4965fa2
commit 0c333f8a9f

View file

@ -26,10 +26,10 @@ class Nu < Formula
inreplace "Nukefile" do |s|
s.gsub!('(SH "sudo ', '(SH "') # don't use sudo to install
s.gsub!("\#{@destdir}/Library/Frameworks", "\#{@prefix}/Frameworks")
s.sub! /^;; source files$/, <<-EOS
;; source files
(set @framework_install_path "#{frameworks}")
EOS
s.sub! /^;; source files$/, <<-EOS.undent
;; source files
(set @framework_install_path "#{frameworks}")
EOS
end
system "make"
system "./mininush", "tools/nuke"