diff options
author | Valery Ushakov <valery.ushakov@bell-sw.com> | 2024-05-22 16:07:38 +0200 |
---|---|---|
committer | Mariusz Tkaczyk <mariusz.tkaczyk@linux.intel.com> | 2024-05-23 15:54:43 +0200 |
commit | 906922ee321d64e2ce8458147e67d4892696fb58 (patch) | |
tree | 041b475f426c74f0c9c0826b47f7169c2f51cf75 | |
parent | mdadm: deprecate bitmap custom file (diff) | |
download | mdadm-906922ee321d64e2ce8458147e67d4892696fb58.tar.xz mdadm-906922ee321d64e2ce8458147e67d4892696fb58.zip |
Makefile: fix make -s detection
Only check the first word of MAKEFLAGS for 's', that's where all the
single letter options are collected.
MAKEFLAGS contains _all_ make flags, so if any command line argument
contains a letter 's', the silent test will be false positive. Think
e.g. make 'DESTDIR=.../aports/main/mdadm/pkg/mdadm' install
-rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -157,7 +157,7 @@ ifndef UDEVDIR UDEVDIR = /lib/udev endif -ifeq (,$(findstring s,$(MAKEFLAGS))) +ifeq (,$(findstring s,$(firstword -$(MAKEFLAGS)))) ECHO=echo else ECHO=: |