From e086480b76d995beb23b9b91bda335702f7f0d2a Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Wed, 28 Sep 2022 20:01:20 +0300 Subject: Don't print true and false script builtins at verbosity level 2 --- libbuild2/script/run.cxx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/libbuild2/script/run.cxx b/libbuild2/script/run.cxx index 51a1f92..81abdab 100644 --- a/libbuild2/script/run.cxx +++ b/libbuild2/script/run.cxx @@ -1944,7 +1944,10 @@ namespace build2 { // Execute the builtin. // - if (verb >= 2) + // Don't print the true and false builtins, since they are normally + // used for the commands execution flow control. + // + if (verb >= 2 && program != "true" && program != "false") print_process (process_args ()); // Some of the script builtins (cp, mkdir, etc) extend libbutl -- cgit v1.1