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

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

 



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 ;; \
>  			*) \

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list

[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux