projects
/
p5sagit/p5-mst-13.2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Yitzchak points out that this function argument is NULLOK
[p5sagit/p5-mst-13.2.git]
/
lib
/
CPAN.pm
diff --git
a/lib/CPAN.pm
b/lib/CPAN.pm
index
095b533
..
fa83398
100644
(file)
--- a/
lib/CPAN.pm
+++ b/
lib/CPAN.pm
@@
-2651,8
+2651,10
@@
sub hosthard {
$src_switch = " -source";
} elsif ($f eq "ncftp"){
$src_switch = " -c";
- } elsif ($f eq "wget"){
- $src_switch = " -O -";
+ } elsif ($f eq "wget"){
+ $src_switch = " -O -";
+ } elsif ($f eq 'curl'){
+ $src_switch = ' -L';
}
my($chdir) = "";