chiark / gitweb /
remove build output when not reproducible
authorMichael Pöhn <michael.poehn@fsfe.org>
Sun, 23 Apr 2017 09:33:51 +0000 (11:33 +0200)
committerMichael Pöhn <michael.poehn@fsfe.org>
Sun, 23 Apr 2017 09:33:51 +0000 (11:33 +0200)
fdroidserver/build.py

index c16bd182622ee5631f8b837c59852a368d6a9398..f0f027be98a375286e81b62300065ee48da400ee 100644 (file)
@@ -1231,6 +1231,10 @@ def main():
                             compare_result = \
                                 common.verify_apks(of, unsigned_apk, tmpdir)
                             if compare_result:
+                                logging.debug('removing %s', unsigned_apk)
+                                os.remove(unsigned_apk)
+                                logging.debug('removing %s', of)
+                                os.remove(of)
                                 compare_result = compare_result.split('\n')
                                 line_count = len(compare_result)
                                 compare_result = compare_result[:299]