aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2023-01-20 18:28:13 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2023-01-20 18:28:34 +0300
commit8085f0f8ae4520fcd9ac9bf1ec9ac7ec5f1aad90 (patch)
treef46309222a0116826d8a9e91720cd436c37b946f
parentdb4a9915b25ab682762eb73d65aab44e6bddcc1f (diff)
Fix --curl option handling
-rw-r--r--bpkg/fetch.cxx2
1 files changed, 1 insertions, 1 deletions
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";