summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Jackson <ijackson@chiark.greenend.org.uk>2016-10-19 22:37:34 +0100
committerIan Jackson <ijackson@chiark.greenend.org.uk>2016-10-23 13:31:12 +0100
commitf8508800a705c85c0894de5ee7107905166a28ee (patch)
tree38c2bdbb7863c6f88625e4bd83dd68bdcd80c502
parentafb8cbb4afab0abc9805f0a4c1b8a4f7486b589d (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>
-rwxr-xr-xdgit4
1 files changed, 2 insertions, 2 deletions
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;
}