[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [PATCH] Skip .pyc files in subdirectories when running make updates.



On Fri, 2009-05-08 at 14:51 -0400, Chris Lumens wrote:
> This fixes a problem where my updates image included 64-bit .pyc files that
> were causing problems with my 32-bit guest VM.

Looks ok.

> ---
>  Makefile |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/Makefile b/Makefile
> index 332f453..c1c7be6 100644
> --- a/Makefile
> +++ b/Makefile
> @@ -193,7 +193,7 @@ updates:
>  			installclasses|storage|booty) \
>  				rm -rf updates-img/$$dn ; \
>  				cp -a $$dn updates-img ; \
> -				find updates-img/$$dn -type f | grep Makefile | xargs rm -f ;; \
> +				find updates-img/$$dn -type f | egrep 'Makefile|\.pyc' | xargs rm -f ;; \
>  			loader|po|scripts|command-stubs|tests|bootdisk|docs|fonts|utils|gptsync) \
>  				continue ;; \
>  			*) \


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]