Skip to content

Commit

Permalink
Fix git:// URLs on win32; escape %
Browse files Browse the repository at this point in the history
Signed-off-by: Moritz Lenz <moritz@faui2k3.org>
  • Loading branch information
ronaldxs authored and moritz committed Oct 2, 2010
1 parent d2e8634 commit 7c74c0c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Configure.pl
Expand Up @@ -171,7 +171,8 @@ sub create_makefile {
if ($^O eq 'MSWin32') {
$maketext =~ s{/}{\\}g;
$maketext =~ s{\\\*}{\\\\*}g;
$maketext =~ s{http:\S+}{ do {my $t = $&; $t =~ s'\\'/'g; $t} }eg;
$maketext =~ s{(?:git|http):\S+}{ do {my $t = $&; $t =~ s'\\'/'g; $t} }eg;
$maketext =~ s/.*curl.*/do {my $t = $&; $t =~ s'%'%%'g; $t}/meg;
}

if ($makefile_timing) {
Expand Down

0 comments on commit 7c74c0c

Please sign in to comment.