[misc] 02/03: has-only: accept all types of zip and makefile failure
Chris West
faux-guest at moszumanska.debian.org
Sat May 6 15:20:12 UTC 2017
This is an automated email from the git hooks/post-receive script.
faux-guest pushed a commit to branch master
in repository misc.
commit cf2246bb1012653dcaa81f865e6e8eb88f9cac23
Author: Chris West (Faux) <git at goeswhere.com>
Date: Sat May 6 16:38:16 2017 +0200
has-only: accept all types of zip and makefile failure
---
has-only.py | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/has-only.py b/has-only.py
index bfbbd4e..d364cc9 100755
--- a/has-only.py
+++ b/has-only.py
@@ -73,7 +73,9 @@ def process(f):
'Files',
'./control',
'line order',
- 'zipinfo {}'}:
+ 'zipinfo {}',
+ 'zipinfo -v {}',
+ }:
# TODO: this is a massive approximation; ignores variations like deleting a file
continue
@@ -92,7 +94,7 @@ def process(f):
if file.startswith('readelf ') and '.debug' in before and '.debug' in after:
has.add('build_id')
- if 'Makefile' == file and 'SHELL = /bin/' in before and 'SHELL = /bin/' in after:
+ if file.endswith('Makefile') and 'SHELL = /bin/' in before and 'SHELL = /bin/' in after:
has.add('auto_shell')
if file.endswith('.rdb') or file.endswith('.rdx') or file.endswith('.rds') \
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/reproducible/misc.git
More information about the Reproducible-commits
mailing list