lib/chef/cookbook_version.rb in chef-0.9.0.a8 vs lib/chef/cookbook_version.rb in chef-0.9.0.a10

- old
+ new

@@ -763,11 +763,11 @@ file_name = nil path = nil specificity = "default" if segment == :root_files - matcher = segment_file.match("/#{name}/(.+)") + matcher = segment_file.match(".+/#{name}/(.+)") file_name = matcher[1] path = file_name elsif segment == :templates || segment == :files matcher = segment_file.match("/#{name}/(#{segment}/(.+?)/(.+))") unless matcher @@ -828,6 +828,6 @@ end manifest_records_by_path end end -end \ No newline at end of file +end