diff options
| author | Mike McQuaid | 2012-11-06 23:47:35 +0000 |
|---|---|---|
| committer | Mike McQuaid | 2012-11-25 23:03:29 +0000 |
| commit | 6dc4678ad3e88918e3b47da5d8b09b2e4677012c (patch) | |
| tree | 898954e09214f41e57c2c3e75bf9d63869c59c08 | |
| parent | a5a530573a8c7488933d77fdd4869fd2de94823e (diff) | |
| download | homebrew-6dc4678ad3e88918e3b47da5d8b09b2e4677012c.tar.bz2 | |
Copy rather than move e.g. war files.
| -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 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 |
