diff options
author | Chris Lumens <clumens@redhat.com> | 2009-05-08 14:50:20 -0400 |
---|---|---|
committer | Chris Lumens <clumens@redhat.com> | 2009-05-08 15:12:56 -0400 |
commit | d8915e61e72846dd94555527310d7993fc164286 (patch) | |
tree | abf8e6eb6d965d9de2c93ef136d6a857875c2100 | |
parent | e45aca76276ef4466e685f87b2877b4d287aa357 (diff) | |
download | anaconda-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-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 ;; \ *) \ |