aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorAdam Vandenberg2010-06-28 13:14:16 -0700
committerAdam Vandenberg2010-06-28 13:14:50 -0700
commit501fb844abd73d1b75dae7709a20c8d1c07f34fb (patch)
tree8095b16bc2e035e8b5d848c3a8bb48faf3b7ccd6 /Library
parenta634dc6a2c2e0a4027f2fa4e95a111f88e00c1a7 (diff)
downloadbrew-501fb844abd73d1b75dae7709a20c8d1c07f34fb.tar.bz2
Use cp, not mv, to keep download in cache.
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 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