summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Lumens <clumens@redhat.com>2009-05-08 14:50:20 -0400
committerChris Lumens <clumens@redhat.com>2009-05-08 15:12:56 -0400
commitd8915e61e72846dd94555527310d7993fc164286 (patch)
treeabf8e6eb6d965d9de2c93ef136d6a857875c2100
parente45aca76276ef4466e685f87b2877b4d287aa357 (diff)
downloadanaconda-d8915e61e72846dd94555527310d7993fc164286.tar.gz
anaconda-d8915e61e72846dd94555527310d7993fc164286.tar.xz
anaconda-d8915e61e72846dd94555527310d7993fc164286.zip
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.
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 332f4538a..c1c7be661 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 ;; \
*) \