diff options
author | Zac Medico <zmedico@gentoo.org> | 2009-03-11 03:30:14 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2009-03-11 03:30:14 +0000 |
commit | 0d482074f71a8baf2cc585b1c78e5b4b010a0982 (patch) | |
tree | d93b6eb948a9444e35c64197af8ec0e63623ec75 | |
parent | 74292539f68dcbd6e8a408e0ea9fa815e9b0c3e6 (diff) | |
download | portage-0d482074f71a8baf2cc585b1c78e5b4b010a0982.tar.gz portage-0d482074f71a8baf2cc585b1c78e5b4b010a0982.tar.bz2 portage-0d482074f71a8baf2cc585b1c78e5b4b010a0982.zip |
Always ignore hidden files when generating Manifests. Thanks to Christian
Ruppert for reporting. (trunk r12566)
svn path=/main/branches/2.1.6/; revision=12847
-rw-r--r-- | pym/portage/manifest.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/pym/portage/manifest.py b/pym/portage/manifest.py index 384da250a..0fc0a6b4a 100644 --- a/pym/portage/manifest.py +++ b/pym/portage/manifest.py @@ -291,7 +291,9 @@ class Manifest(object): for pkgdir, pkgdir_dirs, pkgdir_files in os.walk(self.pkgdir): break for f in pkgdir_files: - if f.endswith(".ebuild"): + if f[:1] == ".": + continue + elif f[-7:] == ".ebuild": mytype = "EBUILD" pf = f[:-7] ps = portage.versions.pkgsplit(pf) |