From 8085f0f8ae4520fcd9ac9bf1ec9ac7ec5f1aad90 Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Fri, 20 Jan 2023 18:28:13 +0300 Subject: Fix --curl option handling --- bpkg/fetch.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bpkg/fetch.cxx b/bpkg/fetch.cxx index a7fe8c9..573dfde 100644 --- a/bpkg/fetch.cxx +++ b/bpkg/fetch.cxx @@ -797,7 +797,7 @@ namespace bpkg } else if (o.curl_specified ()) { - const path& p (path_ = o.fetch ()); + const path& p (path_ = o.curl ()); if (!check_curl (p)) fail << p << " does not appear to be the 'curl' program"; -- cgit v1.1