diff options
author | Ian Jackson <ijackson@chiark.greenend.org.uk> | 2016-10-19 22:37:34 +0100 |
---|---|---|
committer | Ian Jackson <ijackson@chiark.greenend.org.uk> | 2016-10-23 13:31:12 +0100 |
commit | f8508800a705c85c0894de5ee7107905166a28ee (patch) | |
tree | 38c2bdbb7863c6f88625e4bd83dd68bdcd80c502 /dgit | |
parent | afb8cbb4afab0abc9805f0a4c1b8a4f7486b589d (diff) |
curl invocation: Remove -f from @curl, and add it at the call site
No significant functional change.
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Diffstat (limited to 'dgit')
-rwxr-xr-x | dgit | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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; } |