aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorMike McQuaid2012-11-06 23:47:35 +0000
committerMike McQuaid2012-11-25 23:03:29 +0000
commitc3313d084ca6c93207973d005f3ca01a14d556e7 (patch)
tree7d8eb3ca57c4177ae9d94f3a54d95cf7e9ee4555 /Library
parent340769443c5d2644afdb3af817ea23c0176c89d8 (diff)
downloadbrew-c3313d084ca6c93207973d005f3ca01a14d556e7.tar.bz2
Copy rather than move e.g. war files.
Diffstat (limited to 'Library')
-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