ocaml: fix url (#13749)
This commit is contained in:
parent
260a4c4904
commit
18cf751d13
@ -20,7 +20,7 @@ class Ocaml(Package):
|
||||
|
||||
def url_for_version(self, version):
|
||||
url = "http://caml.inria.fr/pub/distrib/ocaml-{0}/ocaml-{1}.tar.gz"
|
||||
return url.format(version.up_to(2), version)
|
||||
return url.format(str(version)[:-2], version)
|
||||
|
||||
def install(self, spec, prefix):
|
||||
configure('-prefix', '{0}'.format(prefix))
|
||||
|
Loading…
Reference in New Issue
Block a user