Skip to content

Commit

Permalink
Normalized HTTPS URLs need to have .git
Browse files Browse the repository at this point in the history
Otherwise panda fails to install them (see http://irclog.perlgeek.de/perl6/2016-01-02#i_11817181)
  • Loading branch information
zoffixznet committed Jan 2, 2016
1 parent 07d23bb commit 32efec1
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions server/updatelist.pl
Expand Up @@ -76,7 +76,6 @@ sub _normalize_source_url {
s/^\s+|\s+$//g;
s{git\@github\.com:}{git://github.com/};
$_ .= '.git' if m{^git://} and not m{\.git$};
$_ =~ s/\.git$// if m{^https?://};
$_ .= '/' if m{^https?://} and not m{/$} ;
s{/$}{.git} if m{^https?://};
}
}

0 comments on commit 32efec1

Please sign in to comment.