From: Ian Jackson Date: Wed, 19 Oct 2016 21:37:34 +0000 (+0100) Subject: curl invocation: Remove -f from @curl, and add it at the call site X-Git-Tag: archive/debian/2.6~5 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=f8508800a705c85c0894de5ee7107905166a28ee;p=dgit.git curl invocation: Remove -f from @curl, and add it at the call site No significant functional change. Signed-off-by: Ian Jackson --- diff --git a/dgit b/dgit index cc9a0581..f1f952ac 100755 --- a/dgit +++ b/dgit @@ -86,7 +86,7 @@ our $splitbraincache = 'dgit-intern/quilt-cache'; our (@git) = qw(git); our (@dget) = qw(dget); -our (@curl) = qw(curl -f); +our (@curl) = qw(curl); our (@dput) = qw(dput); our (@debsign) = qw(debsign); our (@gpg) = qw(gpg); @@ -2007,7 +2007,7 @@ sub complete_file_from_dsc ($$) { $furl .= "/$f"; die "$f ?" unless $f =~ m/^\Q${package}\E_/; die "$f ?" if $f =~ m#/#; - runcmd_ordryrun_local @curl,qw(-o),$tf,'--',"$furl"; + runcmd_ordryrun_local @curl,qw(-f -o),$tf,'--',"$furl"; return 0 if !act_local(); $downloaded = 1; }