Permalink
Browse files

Fix opam-repository#10

github archives can start by http://
  • Loading branch information...
1 parent 140a484 commit 14eaad36b21241cf468ea13602346a24cda2457d @samoht samoht committed Aug 25, 2012
Showing with 2 additions and 1 deletion.
  1. +2 −1 src/run.ml
View
@@ -310,7 +310,8 @@ end
let is_tar_archive = Tar.is_archive
let is_github_tarball s =
- Utils.starts_with ~prefix:"https://github.com/" s
+ (Utils.starts_with ~prefix:"https://github.com/" s
+ || Utils.starts_with ~prefix:"http://github.com/" s)
&& Filename.basename (Filename.dirname s) = "tarball"
let extract file dst =

0 comments on commit 14eaad3

Please sign in to comment.