aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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";