summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorMattia Rizzolo <mattia@mapreri.org>2015-03-01 16:49:29 +0100
committerMattia Rizzolo <mattia@mapreri.org>2015-03-01 16:49:29 +0100
commit3df224eb833a6ffae53e609b428316e304db25ab (patch)
tree5970c250f22bf681775835b7197019f8a16803e2 /bin
parentf34b4f1dea20f0b28caca8ac4395d21b727bf57e (diff)
downloadjenkins.debian.net-3df224eb833a6ffae53e609b428316e304db25ab.tar.xz
reproducible: common: pkg_has_buildinfo(): fix multiarch url
Diffstat (limited to 'bin')
-rwxr-xr-xbin/reproducible_common.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/reproducible_common.py b/bin/reproducible_common.py
index 31902a9a..423a36b3 100755
--- a/bin/reproducible_common.py
+++ b/bin/reproducible_common.py
@@ -362,7 +362,7 @@ 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 + '/' + suite + '/' + suite + '/' + package + \
+ buildinfo = BUILDINFO_PATH + '/' + suite + '/' + arch + '/' + package + \
'_' + strip_epoch(version) + '_amd64.buildinfo'
if os.access(buildinfo, os.R_OK):
return True