summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Jackson <ijackson@chiark.greenend.org.uk>2017-07-08 18:37:33 +0100
committerIan Jackson <ijackson@chiark.greenend.org.uk>2017-07-08 18:53:59 +0100
commit8efcda8d67ec2934f259e4ce951570fef8f37a34 (patch)
treecaa44017b90ee7ccde649ae504d1f7103176943d
parentbf6d98357f21e3566bfabb8962e54b99dfb1ec01 (diff)
dgit: curl --proto-redir settings: do not use qw() for ...,...
This syntax generates the following spurious warning with buster's perl (but not with stretch's): Possible attempt to separate words with commas at /home/ian/things/Dgit/2dgit/dgit line 103. It seems better to keep this warning everywhere else, and using a different syntax is easier than disabling it around this construct. Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
-rwxr-xr-xdgit2
1 files changed, 1 insertions, 1 deletions
diff --git a/dgit b/dgit
index 2685b6c..a4c9640 100755
--- a/dgit
+++ b/dgit
@@ -100,7 +100,7 @@ our $rewritemap = 'dgit-rewrite/map';
our (@git) = qw(git);
our (@dget) = qw(dget);
-our (@curl) = qw(curl --proto-redir -all,http,https -L);
+our (@curl) = (qw(curl --proto-redir), '-all,http,https', qw(-L));
our (@dput) = qw(dput);
our (@debsign) = qw(debsign);
our (@gpg) = qw(gpg);