diff options
author | Lamont Granquist <lamont@scriptkiddie.org> | 2015-12-03 09:30:34 -0800 |
---|---|---|
committer | Lamont Granquist <lamont@scriptkiddie.org> | 2015-12-03 09:30:34 -0800 |
commit | 6be47e6db1513824af52524b4d8bc83c32849d4a (patch) | |
tree | 7ea9b9e4404de787cfe79a595fc484607e60bc4a /lib/chef/provider/package.rb | |
parent | d9ebae424bebd018cb651525a7f50ad1f802e80d (diff) | |
download | chef-6be47e6db1513824af52524b4d8bc83c32849d4a.tar.gz |
fix comment after moving out of dpkg_packagelcg/dpkg-cleanup
Diffstat (limited to 'lib/chef/provider/package.rb')
-rw-r--r-- | lib/chef/provider/package.rb | 2 |
1 files changed, 1 insertions, 1 deletions
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 |