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