summaryrefslogtreecommitdiffstats
path: root/bin/reproducible_common.py
diff options
context:
space:
mode:
Diffstat (limited to 'bin/reproducible_common.py')
-rwxr-xr-xbin/reproducible_common.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/reproducible_common.py b/bin/reproducible_common.py
index dd0321e9..31902a9a 100755
--- a/bin/reproducible_common.py
+++ b/bin/reproducible_common.py
@@ -362,8 +362,8 @@ def pkg_has_buildinfo(package, version=False, suite='sid', arch='amd64'):
'WHERE s.name="{}" AND s.suite="{}" AND s.architecture="{}"'
query = query.format(package, suite, arch)
version = str(query_db(query)[0][0])
- buildinfo = BUILDINFO_PATH + '/' + package + '_' + \
- strip_epoch(version) + '_amd64.buildinfo'
+ buildinfo = BUILDINFO_PATH + '/' + suite + '/' + suite + '/' + package + \
+ '_' + strip_epoch(version) + '_amd64.buildinfo'
if os.access(buildinfo, os.R_OK):
return True
else: