X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/7eeba28595f0089249c006550eab941e9f1521b3..709c582dd58742d3a1ba083f9105efdb17a5de6e:/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