diff options
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/reproducible_common.py | 2 | ||||
-rwxr-xr-x | bin/reproducible_html_packages.py | 2 |
2 files changed, 2 insertions, 2 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: diff --git a/bin/reproducible_html_packages.py b/bin/reproducible_html_packages.py index 81c00089..adfa5c6b 100755 --- a/bin/reproducible_html_packages.py +++ b/bin/reproducible_html_packages.py @@ -144,7 +144,7 @@ def gen_extra_links(package, version, suite, arch, status): links += dbd[0] if dbd[0] else '' if dbd[0] and not default_view: default_view = dbd[1] - if pkg_has_buildinfo(package, version, suite): + if pkg_has_buildinfo(package, version, suite, arch): url = BUILDINFO_URI + '/' + suite + '/' + arch + '/' + package + \ '_' + eversion + '_' + arch + '.buildinfo' links += '<li><a href="' + url + '" target="main">buildinfo</a></li>\n' |