diff options
| author | Adam Vandenberg | 2010-06-28 13:14:16 -0700 |
|---|---|---|
| committer | Adam Vandenberg | 2010-06-28 13:14:50 -0700 |
| commit | 6f7c64b89c871836713945024e13ebf93e1908e4 (patch) | |
| tree | af721be5632c6c80f58389b3308db5bf0e0f8ed4 /Library/Homebrew | |
| parent | 66371c5b1d320e33fb685d71d1570ef1689abe80 (diff) | |
| download | homebrew-6f7c64b89c871836713945024e13ebf93e1908e4.tar.bz2 | |
Use cp, not mv, to keep download in cache.
Diffstat (limited to 'Library/Homebrew')
| -rw-r--r-- | Library/Homebrew/download_strategy.rb | 2 |
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 |
