Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

ocp-build: improve pipe display

  • Loading branch information...
commit 02d09fa229d60c60fc79037ed513a34ca40b5ceb 1 parent eef06db
Fabrice Le Fessant authored
View
BIN  boot/ocp-build.boot
Binary file not shown
View
BIN  ocp-build/ocp-build.boot
Binary file not shown
View
7 tools/ocp-build/buildEngine.ml
@@ -817,8 +817,11 @@ let execute_command b proc =
(BuildEngineRules.command_of_command cmd) @ List.map (BuildEngineRules.argument_of_argument r) cmd.cmd_args
in
if verbose 1 then begin
- Printf.eprintf "[%d.%d] BEGIN '%s'\n%!" r.rule_id proc.proc_step
- (term_escape (String.concat "' '" cmd_args));
+ Printf.eprintf "[%d.%d] BEGIN '%s' %s\n%!" r.rule_id proc.proc_step
+ (term_escape (String.concat "' '" cmd_args))
+ (match cmd.cmd_stdout_pipe with
+ None -> ""
+ | Some filename -> Printf.sprintf "> '%s'" filename);
end;
Printf.fprintf b.build_log "'%s' %s\n"
(String.concat "' '" cmd_args)
Please sign in to comment.
Something went wrong with that request. Please try again.