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

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



This fixes a problem where my updates image included 64-bit .pyc files that
were causing problems with my 32-bit guest VM.
---
 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 ;; \
 			*) \
-- 
1.6.1.3


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