OCamlPro/opam — pull request #271 by chambart (2012-10-30 15:59:58+00:00)
Title: Allow to use github tag tarballs as compiler sources

When downloading tarballs corresponding to tags on github like https://github.com/chambart/ocaml/tarball/io_prim the file is saved as io_prim. So opam can't find the filename extension to choose the right options to decompress it.
This patch use add options to wget and curl to trust the filename provided by the server.