summaryrefslogtreecommitdiff
path: root/omnibus
diff options
context:
space:
mode:
authorTim Smith <tsmith@chef.io>2020-08-05 12:42:37 -0700
committerGitHub <noreply@github.com>2020-08-05 12:42:37 -0700
commit1b83dfafe5cf4a48ce19009f8d05b628cf037a76 (patch)
tree71357060e4301c3f3153c3ddd1876661977338f3 /omnibus
parentc30538a04c7c3731bc294f17129fea2c58eba4ba (diff)
downloadchef-1b83dfafe5cf4a48ce19009f8d05b628cf037a76.tar.gz
Update omnibus/config/software/more-ruby-cleanup.rb
Signed-off-by: Tim Smith <tsmith@chef.io> Co-authored-by: pete higgins <pete@peterhiggins.org>
Diffstat (limited to 'omnibus')
-rw-r--r--omnibus/config/software/more-ruby-cleanup.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/omnibus/config/software/more-ruby-cleanup.rb b/omnibus/config/software/more-ruby-cleanup.rb
index 17e2f104fd..2f1db9caea 100644
--- a/omnibus/config/software/more-ruby-cleanup.rb
+++ b/omnibus/config/software/more-ruby-cleanup.rb
@@ -118,7 +118,7 @@ build do
if ::File.exist?(file_path)
puts "Deleting binary at #{file_path}"
- FileUtils.rm_rf(file_path)
+ FileUtils.rm_f(file_path)
else
puts "Binary #{file_path} not found. Skipping."
end