chiark / gitweb /
archive-api-query: Use correct arguments for curl
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Fri, 26 Jun 2015 22:56:43 +0000 (23:56 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Fri, 26 Jun 2015 22:56:43 +0000 (23:56 +0100)
dgit

diff --git a/dgit b/dgit
index fdc922e..1aea272 100755 (executable)
--- a/dgit
+++ b/dgit
@@ -713,7 +713,7 @@ sub archive_api_query_cmd ($) {
                fail "for $url: stat $key: $!" unless $!==ENOENT;
                next;
            }
-           push @cmd, "--ca-certificate=$key", "--ca-directory=/dev/enoent";
+           push @cmd, "--cacert", $key, "--capath", "/dev/enoent";
            last;
        }
     }