Re: 2.3.51

From: Jeff Garzik (jgarzik@mandrakesoft.mandrakesoft.com)
Date: Mon Mar 13 2000 - 08:27:44 EST


On Sun, 12 Mar 2000, Daniel A. Nobuto wrote:

> Hi all,
>
> > Jamie promised to cook up better patch then mine but so far I've not seen
> > anything ...
>
> How about:

Ug :/

-exec runs a process for every single file found. I like the suggestion
to pass --max-files to xargs instead.

        Jeff

> --- Makefile.old Sun Mar 12 12:38:17 2000
> +++ Makefile Sun Mar 12 12:38:25 2000
> @@ -437,7 +437,7 @@
>
> clean: archclean
> rm -f kernel/ksyms.lst include/linux/compile.h
> - find . -name '*.[oas]' -type f -print | grep -v lxdialog/ | xargs rm -f
> + find . -name '*.[oas]' -type f -exec sh -c "echo {}|grep -v lxdialogs && rm -f {}" \;
> rm -f core `find . -type f -name 'core' -print`
> rm -f core `find . -type f -name '.*.flags' -print`
> rm -f vmlinux System.map
>
> -- DN
> Daniel
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.rutgers.edu
> Please read the FAQ at http://www.tux.org/lkml/
>

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Wed Mar 15 2000 - 21:00:25 EST