mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
extmk.rb: split notes
* ext/extmk.rb: split notes and echo per lines, for multiple lines messages. [ruby-core:79475] [Bug #13200] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57590 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
0f9554efa1
commit
f9694cdb67
1 changed files with 5 additions and 2 deletions
|
@ -721,9 +721,12 @@ begin
|
|||
fails.each do |d, n, err|
|
||||
d = "#{d}:#{n}:"
|
||||
if err
|
||||
d << " " << err
|
||||
err.scan(/.+/) do |e|
|
||||
mf.puts %Q<\t@echo "#{d} #{e.gsub(/["`$^]/, '\\\\\\&')}">
|
||||
end
|
||||
else
|
||||
mf.puts %Q<\t@echo "#{d}">
|
||||
end
|
||||
mf.puts %Q<\t@echo "#{d}">
|
||||
end
|
||||
mf.puts %Q<\t@echo "*** Fix the problems, then remove these directories and try again if you want.">
|
||||
end
|
||||
|
|
Loading…
Add table
Reference in a new issue