diff options
Diffstat (limited to 'mkconfig.rb')
-rwxr-xr-x | mkconfig.rb | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/mkconfig.rb b/mkconfig.rb index e56af5d04..d6a9d0398 100755 --- a/mkconfig.rb +++ b/mkconfig.rb @@ -56,14 +56,13 @@ File.foreach "config.status" do |line| continued_name = name next end - when /^"(.+)"\s*(\\)?$/ + when /^"(.*)"\s*(\\)?$/ if continued_line continued_line << $1 - unless $2 - val = continued_line.join("") - name = continued_name - continued_line = nil - end + next if $2 + val = continued_line.join("") + name = continued_name + continued_line = nil end when /^(?:ac_given_)?INSTALL=(.*)/ v_fast << " CONFIG[\"INSTALL\"] = " + $1 + "\n" |