[kernel] r19153 - dists/trunk/firmware-free/debian/bin
Ben Hutchings
benh at alioth.debian.org
Sun Jun 17 00:13:03 UTC 2012
Author: benh
Date: Sun Jun 17 00:13:02 2012
New Revision: 19153
Log:
Make check_upstream.py compare source files as well as binaries
Modified:
dists/trunk/firmware-free/debian/bin/check_upstream.py
Modified: dists/trunk/firmware-free/debian/bin/check_upstream.py
==============================================================================
--- dists/trunk/firmware-free/debian/bin/check_upstream.py Sun Jun 17 00:10:40 2012 (r19152)
+++ dists/trunk/firmware-free/debian/bin/check_upstream.py Sun Jun 17 00:13:02 2012 (r19153)
@@ -31,8 +31,13 @@
# Suitable for main if source is available or binary is
# preferred form for modification
for file_info in section.files.values():
+ sources = set()
if file_info.source or file_info.binary.endswith('.cis'):
update_file(source_dir, dest_dirs, file_info.binary)
+ for source in file_info.source:
+ sources.add(source)
+ for source in sources:
+ update_file(source_dir, dest_dirs, source)
def update_file(source_dir, dest_dirs, filename):
source_file = os.path.join(source_dir, filename)
More information about the Kernel-svn-changes
mailing list