aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike McQuaid2012-11-06 23:47:35 +0000
committerMike McQuaid2012-11-25 23:03:29 +0000
commit6dc4678ad3e88918e3b47da5d8b09b2e4677012c (patch)
tree898954e09214f41e57c2c3e75bf9d63869c59c08
parenta5a530573a8c7488933d77fdd4869fd2de94823e (diff)
downloadhomebrew-6dc4678ad3e88918e3b47da5d8b09b2e4677012c.tar.bz2
Copy rather than move e.g. war files.
-rw-r--r--Library/Homebrew/download_strategy.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/download_strategy.rb b/Library/Homebrew/download_strategy.rb
index 4eea66095..3a1e0e64c 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