From f8508800a705c85c0894de5ee7107905166a28ee Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Wed, 19 Oct 2016 22:37:34 +0100 Subject: curl invocation: Remove -f from @curl, and add it at the call site No significant functional change. Signed-off-by: Ian Jackson --- dgit | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'dgit') diff --git a/dgit b/dgit index cc9a058..f1f952a 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; } -- cgit v1.2.3