зеркало из https://github.com/github/ruby.git
mkconfig.rb: newlines
* tool/mkconfig.rb: restore embedded newlines. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38288 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
f9e4651039
Коммит
08b98cc317
|
@ -61,6 +61,7 @@ File.foreach "config.status" do |line|
|
||||||
next if !continued_line
|
next if !continued_line
|
||||||
continued_line << $1
|
continued_line << $1
|
||||||
next if $2
|
next if $2
|
||||||
|
continued_line.each {|s| s.sub!(/\\n\z/, "\n")}
|
||||||
val = continued_line.join
|
val = continued_line.join
|
||||||
name = continued_name
|
name = continued_name
|
||||||
continued_line = nil
|
continued_line = nil
|
||||||
|
|
Загрузка…
Ссылка в новой задаче