Copy rather than move e.g. war files.

This commit is contained in:
Mike McQuaid 2012-11-06 23:47:35 +00:00
parent 340769443c
commit c3313d084c

View File

@ -109,7 +109,7 @@ class CurlDownloadStrategy < AbstractDownloadStrategy
# behaviour, just open an issue at github # behaviour, just open an issue at github
# We also do this for jar files, as they are in fact zip files, but # We also do this for jar files, as they are in fact zip files, but
# we don't want to unzip them # we don't want to unzip them
FileUtils.mv @tarball_path, File.basename(@url) FileUtils.cp @tarball_path, File.basename(@url)
end end
end end