lib/command/executor/fetcher.rb in cocoapods-binary-cache-0.1.6 vs lib/command/executor/fetcher.rb in cocoapods-binary-cache-0.1.7
- old
+ new
@@ -29,12 +29,12 @@
git_clone("--depth=1 --branch=#{branch} #{repo} #{dest_dir}")
end
end
def unzip_cache
- Pod::UI.puts "Unzipping cache: #{@config.cache_path} -> #{@config.prebuild_path}".green
- FileUtils.rm_rf(@config.prebuild_path)
- FileUtils.mkdir_p(@config.prebuild_path)
+ Pod::UI.puts "Unzipping cache: #{@config.cache_path} -> #{@config.prebuild_sandbox_path}".green
+ FileUtils.rm_rf(@config.prebuild_sandbox_path)
+ FileUtils.mkdir_p(@config.prebuild_sandbox_path)
if File.exist?(@config.manifest_path(in_cache: true))
FileUtils.cp(
@config.manifest_path(in_cache: true),
@config.manifest_path