diff options
author | Ian Jackson <ijackson@chiark.greenend.org.uk> | 2017-07-08 18:37:33 +0100 |
---|---|---|
committer | Ian Jackson <ijackson@chiark.greenend.org.uk> | 2017-07-08 18:53:59 +0100 |
commit | 8efcda8d67ec2934f259e4ce951570fef8f37a34 (patch) | |
tree | caa44017b90ee7ccde649ae504d1f7103176943d | |
parent | bf6d98357f21e3566bfabb8962e54b99dfb1ec01 (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-x | dgit | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); |