File tree Expand file tree Collapse file tree 4 files changed +14
-8
lines changed Expand file tree Collapse file tree 4 files changed +14
-8
lines changed Original file line number Diff line number Diff line change @@ -111,6 +111,7 @@ users)
111111## Internal
112112 * Replace every polymorphic uses of ` List.mem ` by a version that doesn't use ` Repr.equal ` [ #6644 @kit-ty-kate ]
113113 * Simplify the ` src_ext/update-sources.sh ` script [ #6701 @kit-ty-kate ]
114+ * Homogeneise verbose command output between sandboxed and non sandboxed one [ #6675 @rjbou ]
114115
115116## Internal: Unix
116117
Original file line number Diff line number Diff line change @@ -580,10 +580,15 @@ let dry_run_background c = {
580580}
581581
582582let verbose_print_cmd p =
583- OpamConsole. msg " %s %s %s%s\n "
583+ let args =
584+ match p.p_args with
585+ | [] -> " "
586+ | args ->
587+ " " ^ OpamStd.List. concat_map " " (Printf. sprintf " %S" ) args
588+ in
589+ OpamConsole. msg " %s %s%s%s\n "
584590 (OpamConsole. colorise `yellow " +" )
585- p.p_name
586- (OpamStd.List. concat_map " " (Printf. sprintf " %S" ) p.p_args)
591+ p.p_name args
587592 (if p.p_cwd = Sys. getcwd () then " "
588593 else Printf. sprintf " (CWD=%s)" p.p_cwd)
589594
Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ opam believes some required external dependencies are missing. opam can:
2525
2626[1/2/3/4] 1
2727
28- + false
28+ + false
2929[ERROR] System package install failed with exit code 1 at command:
3030 false
3131[ERROR] These packages are still missing: depext-1
@@ -210,7 +210,7 @@ opam believes some required external dependencies are missing. opam can:
210210
211211[1/2/3/4] 1
212212
213- + false
213+ + false
214214[ERROR] System package install failed with exit code 1 at command:
215215 false
216216[ERROR] These packages are still missing: depext-1 depext-avail depext-ok depext-unav
@@ -243,7 +243,7 @@ opam believes some required external dependencies are missing. opam can:
243243
244244[1/2/3/4] 1
245245
246- + false
246+ + false
247247[ERROR] System package install failed with exit code 1 at command:
248248 false
249249[ERROR] These packages are still missing: depext-1 depext-avail depext-unav
@@ -304,7 +304,7 @@ opam believes some required external dependencies are missing. opam can:
304304
305305[1/2/3/4] 1
306306
307- + false
307+ + false
308308[ERROR] System package install failed with exit code 1 at command:
309309 false
310310[ERROR] These packages are still missing: depext-1 depext-avail depext-ok depext-unav
Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ Processing 2/3: [process: true with]
2727+ true "with" "option" (CWD=${BASEDIR}/OPAM/outputs/.opam-switch/build/process.1)
2828-> compiled process.1
2929Processing 3/3: [process: true]
30- + true (CWD=${BASEDIR}/OPAM/outputs/.opam-switch/build/process.1)
30+ + true (CWD=${BASEDIR}/OPAM/outputs/.opam-switch/build/process.1)
3131Processing 3/3: [process: true with]
3232+ true "with" "option" (CWD=${BASEDIR}/OPAM/outputs/.opam-switch/build/process.1)
3333-> installed process.1
You can’t perform that action at this time.
0 commit comments