improve logging

This commit is contained in:
Jordan Sissel 2012-03-08 16:07:23 -08:00
parent 9d54e7335f
commit 8ef036565b
1 changed files with 2 additions and 2 deletions

View File

@ -222,14 +222,14 @@ class FPM::Package
def cleanup_staging
if File.directory?(staging_path)
@logger.debug("Cleaning up", :path => staging_path)
@logger.debug("Cleaning up staging path", :path => staging_path)
FileUtils.rm_r(staging_path)
end
end # def cleanup_staging
def cleanup_build
if File.directory?(build_path)
@logger.debug("Cleaning up", :path => build_path)
@logger.debug("Cleaning up build path", :path => build_path)
FileUtils.rm_r(build_path)
end
end # def cleanup_build