chiark / gitweb /
fixup! Infra: Honour archive-query
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 28 Jun 2015 22:18:22 +0000 (23:18 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 28 Jun 2015 22:18:22 +0000 (23:18 +0100)
dgit

diff --git a/dgit b/dgit
index f6bf3a7..31b5bf4 100755 (executable)
--- a/dgit
+++ b/dgit
@@ -730,8 +730,8 @@ sub archive_api_query_cmd ($) {
        }
        # Fixing #790093 properly will involve providing a value
        # for this on clients.
-       my $keys = access_cfg('archive-query-tls-curl-ca-args','RETURN-UNDEF');
-       push @cmd, split / /, $keys if defined $keys;
+       my $kargs = access_cfg('archive-query-tls-curl-ca-args','RETURN-UNDEF');
+       push @cmd, split / /, $kargs if defined $kargs;
     }
     push @cmd, $url.$subpath;
     return @cmd;