packages: check-unused-files.py - exclude pearize.sh
glen
glen at pld-linux.org
Wed May 26 17:23:43 CEST 2010
Author: glen Date: Wed May 26 15:23:43 2010 GMT
Module: packages Tag: HEAD
---- Log message:
- exclude pearize.sh
---- Files affected:
packages:
check-unused-files.py (1.9 -> 1.10)
---- Diffs:
================================================================
Index: packages/check-unused-files.py
diff -u packages/check-unused-files.py:1.9 packages/check-unused-files.py:1.10
--- packages/check-unused-files.py:1.9 Tue May 25 16:03:53 2010
+++ packages/check-unused-files.py Wed May 26 17:23:38 2010
@@ -38,8 +38,11 @@
obsolete = []
def blacklisted(file):
+ if file == os.path.basename(spec):
+ return True
+
if file in [ '.', '..', 'CVS', '.cvsignore', 'dropin', 'md5', 'adapter', 'builder',
- 'relup.sh', 'compile.sh', 'repackage.sh', 'rsync.sh', 'TODO', os.path.basename(spec) ]:
+ 'relup.sh', 'compile.sh', 'repackage.sh', 'pearize.sh', 'rsync.sh', 'TODO']:
return True
for pat in ['log.*', '.#*', '*~', '*.orig', '*.sw?']:
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/check-unused-files.py?r1=1.9&r2=1.10&f=u
More information about the pld-cvs-commit
mailing list