builddeb: Skip architecture detection when KBUILD_DEBARCH is set
authorBen Hutchings <ben@decadent.org.uk>
Thu, 26 Jul 2018 10:20:28 +0000 (11:20 +0100)
committerMasahiro Yamada <yamada.masahiro@socionext.com>
Sat, 28 Jul 2018 01:53:44 +0000 (10:53 +0900)
commitf2abcc13e4a1b3139f1e3a0ca71bf4db8b7dfe72
tree147a50822895445cd456416ab6d91f5dca1c4103
parent43fee2b238959a7b46e2e8c0cd3305c7c044ded8
builddeb: Skip architecture detection when KBUILD_DEBARCH is set

If KBUILD_DEBARCH is set then we will not use the result of
architecture detection, and we may also warn unnecessarily.
Move the check for KBUILD_DEBARCH further up to avoid this.

Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
scripts/package/mkdebian