https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
11 lines
282 B
Diff
11 lines
282 B
Diff
--- a/src/downloader/lib/src/Downloader/CurlWrapper.cpp
|
|
+++ b/src/downloader/lib/src/Downloader/CurlWrapper.cpp
|
|
@@ -108,7 +108,6 @@
|
|
if (res != CURLE_OK) {
|
|
LOG_WARN("Error setting CURLOPT_CAPATH: %d", res);
|
|
}
|
|
- return;
|
|
}
|
|
|
|
const std::string cafile = GetCAFilePath();
|
|
|