Use cp, not mv, to keep download in cache.

This commit is contained in:
Adam Vandenberg 2010-06-28 13:14:16 -07:00
parent a634dc6a2c
commit 501fb844ab

View File

@ -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