blob: 52631e0bebb55a54051210b6113ac50a90fcc7b4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
Fix for mkconfig to be able to handle empty continued lines.
Patch from [ruby-core:20420] via bug 234877.
Index: ruby-1.8.7-p299/mkconfig.rb
===================================================================
--- ruby-1.8.7-p299.orig/mkconfig.rb
+++ ruby-1.8.7-p299/mkconfig.rb
@@ -55,7 +55,7 @@ File.foreach "config.status" do |line|
continued_name = name
next
end
- when /^"(.+)"\s*(\\)?$/
+ when /^"(.*)"\s*(\\)?$/
if continued_line
continued_line << $1
unless $2
|