X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/1ba789e232a546639baaf55c49a14eb474647e88..47359d65933cc5a855cf232d7bdcd09e9945190f:/cookbooks/chef/libraries/subversion.rb diff --git a/cookbooks/chef/libraries/subversion.rb b/cookbooks/chef/libraries/subversion.rb index dec188cec..cbcce026a 100644 --- a/cookbooks/chef/libraries/subversion.rb +++ b/cookbooks/chef/libraries/subversion.rb @@ -29,6 +29,7 @@ class Chef @repo_attrs ||= svn_info.lines.each_with_object({}) do |line, attrs| next unless line =~ SVN_INFO_PATTERN + property = Regexp.last_match[1] value = Regexp.last_match[2] attrs[property] = value