commit 2fdfb94cb05816f214b6f7b45c915c329b08045f
parent 74e34db36ae8cabd3e102449f22be0b1ae702b14
Author: Roberto E. Vargas Caballero <k0ga@shike2.com>
Date: Thu, 18 Jan 2024 09:26:01 +0100
make: Don't print shell lines with -q
As the lines are not executed then it does not make sense
to print them.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/cmd/make/rules.c b/src/cmd/make/rules.c
@@ -193,7 +193,7 @@ out_loop:
if (tflag && !plus)
return 0;
- if (sflag || silence)
+ if (sflag || silence || (qflag && !plus))
at = 1;
if (nflag)
at = 0;