From ee822da2caa038820757c72fc13b8dbd65edd3e3 Mon Sep 17 00:00:00 2001 From: Andreas Henriksson Date: Thu, 18 Jun 2015 15:20:38 +0200 Subject: Force dpkg-architecture to use arguments over env We don't want magic environment variables to override what we specified on the command line when asking dpkg-architecture to compare architectures for us.... --- pbuilder-satisfydepends-funcs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'pbuilder-satisfydepends-funcs') diff --git a/pbuilder-satisfydepends-funcs b/pbuilder-satisfydepends-funcs index 30d487b..fb8ac95 100755 --- a/pbuilder-satisfydepends-funcs +++ b/pbuilder-satisfydepends-funcs @@ -193,11 +193,11 @@ checkbuilddep_archdeps() { for d in $DEP_ARCHES; do if echo "$d" | grep -q '!'; then d="$(echo $d | sed 's/!//')" - if dpkg-architecture -a$ARCH -i$d; then + if dpkg-architecture -a$ARCH -i$d -f; then IGNORE_IT="yes" fi else - if dpkg-architecture -a$ARCH -i$d; then + if dpkg-architecture -a$ARCH -i$d -f; then USE_IT="yes" fi INCLUDE="yes" -- cgit v1.2.3