]> git.ipfire.org Git - thirdparty/mdadm.git/blobdiff - Makefile
Makefile: fix make -s detection
[thirdparty/mdadm.git] / Makefile
index adac7905ab576fce4a072b9a074184495f239309..446710bd2bc23494282a4c2a1b3e5b975eacbdcd 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -157,7 +157,7 @@ ifndef UDEVDIR
  UDEVDIR = /lib/udev
 endif
 
-ifeq (,$(findstring s,$(MAKEFLAGS)))
+ifeq (,$(findstring s,$(firstword -$(MAKEFLAGS))))
        ECHO=echo
 else
        ECHO=: