From 3df224eb833a6ffae53e609b428316e304db25ab Mon Sep 17 00:00:00 2001 From: Mattia Rizzolo Date: Sun, 1 Mar 2015 16:49:29 +0100 Subject: reproducible: common: pkg_has_buildinfo(): fix multiarch url --- bin/reproducible_common.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bin') 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 -- cgit v1.2.3-70-g09d2