diff options
author | Holger Levsen <holger@layer-acht.org> | 2015-09-06 18:13:53 +0200 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2015-09-06 18:13:53 +0200 |
commit | f3c889b11dda779a78ec2933e08582e5612e4dd0 (patch) | |
tree | 699012a4f8cb819ca6f4dfa46639feb384620173 /bin/reproducible_common.py | |
parent | d6539c17e204efb7cc27de5006e0896483d1d79c (diff) | |
download | jenkins.debian.net-f3c889b11dda779a78ec2933e08582e5612e4dd0.tar.xz |
reproducible: fix pkg_has_buildinfo() to work with any arch
Diffstat (limited to 'bin/reproducible_common.py')
-rwxr-xr-x | bin/reproducible_common.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/reproducible_common.py b/bin/reproducible_common.py index 0f2d070a..91e4ec1d 100755 --- a/bin/reproducible_common.py +++ b/bin/reproducible_common.py @@ -467,7 +467,7 @@ def pkg_has_buildinfo(package, version=False, suite=defaultsuite, arch=defaultar query = query.format(package, suite, arch) version = str(query_db(query)[0][0]) buildinfo = BUILDINFO_PATH + '/' + suite + '/' + arch + '/' + package + \ - '_' + strip_epoch(version) + '_amd64.buildinfo' + '_' + strip_epoch(version) + '_' + arch + '.buildinfo' if os.access(buildinfo, os.R_OK): return True else: |