Re: [PATCH] modpost: Fix secondary errors seen if a single module build fails

Geert Uytterhoeven
2013-09-15T08:15:47Z

On Sun, Sep 15, 2013 at 6:39 AM, Guenter Roeck <linux@roeck-us.net> wrote:
> - cmd_modpost = $(MODLISTCMD) | sed 's/\.ko$/.o/' | $(modpost) -s -T -
> + cmd_modpost = $(MODLISTCMD) | sed 's/\.ko$/.o/' | \
> + while read a; do [ -f $a ] && echo $a; done | $(modpost) -s -T -

I'm wondering whether this can be filtered without using a shell while loop?
E.g. using "ls"?

Gr{oetje,eeting}s,

Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds