From 6be47e6db1513824af52524b4d8bc83c32849d4a Mon Sep 17 00:00:00 2001 From: Lamont Granquist Date: Thu, 3 Dec 2015 09:30:34 -0800 Subject: fix comment after moving out of dpkg_package --- lib/chef/provider/package.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/chef/provider/package.rb b/lib/chef/provider/package.rb index c00c896401..8e98a103bf 100644 --- a/lib/chef/provider/package.rb +++ b/lib/chef/provider/package.rb @@ -501,7 +501,7 @@ class Chef begin source_array.each_with_index.map do |source, i| package_name = package_name_array[i] - # we require at least one '/' in the package_name to avoid dpkg_package 'foo' breaking due to a random 'foo' file in cwd + # we require at least one '/' in the package_name to avoid [XXX_]package 'foo' breaking due to a random 'foo' file in cwd if use_package_name_for_source? && source.nil? && package_name.match(/#{::File::SEPARATOR}/) && ::File.exist?(package_name) Chef::Log.debug("No package source specified, but #{package_name} exists on filesystem, using #{package_name} as source.") package_name -- cgit v1.2.1