Skip to content

Commit

Permalink
curl: separate output from stdout and stderr
Browse files Browse the repository at this point in the history
  • Loading branch information
kit-ty-kate committed Jun 4, 2024
1 parent c54edfc commit 2d7578c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/repository/opamDownload.ml
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,8 @@ let download_command ~compress ?checksum ~url ~dst () =
OpamConsole.error_and_exit `Configuration_error
"Empty custom download command"
in
OpamSystem.make_command ~allow_stdin:false cmd args @@> tool_return url
let stdout = OpamSystem.temp_file "dl" in
OpamSystem.make_command ~allow_stdin:false ~stdout cmd args @@> tool_return url

let really_download
?(quiet=false) ~overwrite ?(compress=false) ?checksum ?(validate=true)
Expand Down

0 comments on commit 2d7578c

Please sign in to comment.