summaryrefslogtreecommitdiff
path: root/mdbp/mmdebstrap.py
diff options
context:
space:
mode:
authorHelmut Grohne <helmut@subdivi.de>2021-04-22 20:21:49 +0200
committerHelmut Grohne <helmut@subdivi.de>2021-04-22 20:21:49 +0200
commit3cf6fa1cc6e50fffbc75add3b5f55a7c91b42517 (patch)
treeb5dc22ca9845d9a4c4a823b7442a0a5941feb4e9 /mdbp/mmdebstrap.py
parent6377def4d23f9911d2ebb9b6f68ceca14f115db5 (diff)
downloadmdbp-3cf6fa1cc6e50fffbc75add3b5f55a7c91b42517.tar.gz
fix build/host confusion in mmdebstrap backend
Diffstat (limited to 'mdbp/mmdebstrap.py')
-rw-r--r--mdbp/mmdebstrap.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mdbp/mmdebstrap.py b/mdbp/mmdebstrap.py
index aa52eac..0452b45 100644
--- a/mdbp/mmdebstrap.py
+++ b/mdbp/mmdebstrap.py
@@ -117,7 +117,7 @@ def main() -> None:
chroot=True))
if build.get("lintian", {}).get("run"):
cmd = ["lintian", *build["lintian"].get("options", ()),
- "%s_%s.changes" % (dscpath.stem, buildarch)]
+ "%s_%s.changes" % (dscpath.stem, hostarch)]
script.write("%s\n%s\n" %
(priv_drop(["apt-get", "install", "--yes", "lintian"],
chroot=True),