diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-02-10 03:58:01 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-02-10 03:58:01 +0000 |
commit | b173459b59fef3fb31cc4d060dca3dcd886d3dbd (patch) | |
tree | 45a85aee5c7a7e18987e7813f572485954c12866 /ext | |
parent | c2fc938b7390f6a0f0c69e9cd06fe2200ec1989e (diff) | |
download | ruby-b173459b59fef3fb31cc4d060dca3dcd886d3dbd.tar.gz |
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
Diffstat (limited to 'ext')
-rwxr-xr-x | ext/extmk.rb | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/ext/extmk.rb b/ext/extmk.rb index 54dd776e93..70fa88b87e 100755 --- a/ext/extmk.rb +++ b/ext/extmk.rb @@ -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 |