aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew
diff options
context:
space:
mode:
authorAdam Vandenberg2010-06-28 13:14:16 -0700
committerAdam Vandenberg2010-06-28 13:14:50 -0700
commit6f7c64b89c871836713945024e13ebf93e1908e4 (patch)
treeaf721be5632c6c80f58389b3308db5bf0e0f8ed4 /Library/Homebrew
parent66371c5b1d320e33fb685d71d1570ef1689abe80 (diff)
downloadhomebrew-6f7c64b89c871836713945024e13ebf93e1908e4.tar.bz2
Use cp, not mv, to keep download in cache.
Diffstat (limited to 'Library/Homebrew')
-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 02ca921ba..2fb7d7c97 100644
--- a/Library/Homebrew/download_strategy.rb
+++ b/Library/Homebrew/download_strategy.rb
@@ -136,7 +136,7 @@ end
# Useful for installing jars.
class NoUnzipCurlDownloadStrategy <CurlDownloadStrategy
def stage
- FileUtils.mv @tarball_path, File.basename(@url)
+ FileUtils.cp @tarball_path, File.basename(@url)
end
end