From c3313d084ca6c93207973d005f3ca01a14d556e7 Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Tue, 6 Nov 2012 23:47:35 +0000 Subject: [PATCH] Copy rather than move e.g. war files. --- Library/Homebrew/download_strategy.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Library/Homebrew/download_strategy.rb b/Library/Homebrew/download_strategy.rb index 4eea660953..3a1e0e64c5 100644 --- a/Library/Homebrew/download_strategy.rb +++ b/Library/Homebrew/download_strategy.rb @@ -109,7 +109,7 @@ class CurlDownloadStrategy < AbstractDownloadStrategy # behaviour, just open an issue at github # We also do this for jar files, as they are in fact zip files, but # we don't want to unzip them - FileUtils.mv @tarball_path, File.basename(@url) + FileUtils.cp @tarball_path, File.basename(@url) end end