build.sh: add a lintian tag
authorHelmut Grohne <helmut@subdivi.de>
Mon, 11 Feb 2019 04:34:23 +0000 (05:34 +0100)
committerHelmut Grohne <helmut@subdivi.de>
Mon, 11 Feb 2019 04:34:23 +0000 (05:34 +0100)
The triplet-dir-and-architecture-mismatch detects installing files to
${DEB_BUILD_MULTIARCH}. It is very relevant to cross building and rarely
happens elsewhere.

build.sh

index a81f359..b5f1cb4 100755 (executable)
--- a/build.sh
+++ b/build.sh
@@ -30,7 +30,7 @@ $bd_uninstallable_explainer = "apt";
 $source_only_changes = 0;
 $apt_update = 1;
 $apt_distupgrade = 1;
-$lintian_opts = ["-T", "binary-from-other-architecture"];
+$lintian_opts = ["-T", "binary-from-other-architecture,triplet-dir-and-architecture-mismatch"];
 #$lintian_require_success = 1;
 $run_lintian = 1;
 $run_autopkgtest = 0;