diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2008-07-13 01:09:27 +0000 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2008-07-13 01:09:27 +0000 |
commit | c3440b04cc328eba420ef324fde1b3914826ff0a (patch) | |
tree | f1dd11ce982c2544de0a13950a5026aef217c822 /users/robbat2 | |
parent | Fix timestamp code. (diff) | |
download | gentoo-c3440b04cc328eba420ef324fde1b3914826ff0a.tar.gz gentoo-c3440b04cc328eba420ef324fde1b3914826ff0a.tar.bz2 gentoo-c3440b04cc328eba420ef324fde1b3914826ff0a.zip |
Exclude MetaManifest from including itself.
Diffstat (limited to 'users/robbat2')
-rw-r--r-- | users/robbat2/tree-signing-gleps/prototype/generate-metamanifest.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/users/robbat2/tree-signing-gleps/prototype/generate-metamanifest.py b/users/robbat2/tree-signing-gleps/prototype/generate-metamanifest.py index fd69e93233..599feb670e 100644 --- a/users/robbat2/tree-signing-gleps/prototype/generate-metamanifest.py +++ b/users/robbat2/tree-signing-gleps/prototype/generate-metamanifest.py @@ -1,5 +1,5 @@ #!/usr/bin/python -O -# $Header: /var/cvsroot/gentoo/users/robbat2/tree-signing-gleps/prototype/generate-metamanifest.py,v 1.3 2008/07/13 01:01:23 robbat2 Exp $ +# $Header: /var/cvsroot/gentoo/users/robbat2/tree-signing-gleps/prototype/generate-metamanifest.py,v 1.4 2008/07/13 01:09:27 robbat2 Exp $ # Protoype of the MetaManifest generation script. # Robin H. Johnson <robbat2@gentoo.org> # 2008-07-12 @@ -71,6 +71,10 @@ for parent, dirs, files in os.walk(mysettings["PORTDIR"]): if EXCLUDE_FILES_RE.match(f): continue + # Exclude ourselves at the toplevel only + if mysettings["PORTDIR"] == parent and f.startswith('MetaManifest'): + continue + # We have to create the covered set directly. if f == "Manifest": #print 'Adding manifest for %s' % (os.path.join(parent, f),) |