lib/berkshelf/locations/git_location.rb in berkshelf-0.6.0.beta2 vs lib/berkshelf/locations/git_location.rb in berkshelf-0.6.0.beta3

- old
+ new

@@ -50,10 +50,10 @@ raise CookbookNotFound, msg end cb_path = File.join(destination, "#{self.name}-#{Git.rev_parse(tmp_clone)}") FileUtils.rm_rf(cb_path) - FileUtils.mv(tmp_clone, cb_path, force: true) + FileUtils.mv(tmp_clone, cb_path) cached = CachedCookbook.from_store_path(cb_path) validate_cached(cached) set_downloaded_status(true)