From: Ian Jackson Date: Sat, 8 Jul 2017 17:37:33 +0000 (+0100) Subject: dgit: curl --proto-redir settings: do not use qw() for ...,... X-Git-Tag: archive/debian/3.11~17 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=8efcda8d67ec2934f259e4ce951570fef8f37a34;p=dgit.git 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 --- diff --git a/dgit b/dgit index 2685b6ca..a4c96404 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);