aboutsummaryrefslogtreecommitdiff
path: root/pbuilder-satisfydepends-funcs
diff options
context:
space:
mode:
authorAndreas Henriksson <andreas@fatal.se>2015-06-18 15:20:38 +0200
committerAndreas Henriksson <andreas.henriksson@endian.se>2015-06-22 10:06:00 +0200
commitee822da2caa038820757c72fc13b8dbd65edd3e3 (patch)
tree876cee36181bf84a665ac7361cbefdede1a4709a /pbuilder-satisfydepends-funcs
parent595c75e1031d559b93e9089aadf8fba83bcf5704 (diff)
downloadpbuilder-ee822da2caa038820757c72fc13b8dbd65edd3e3.tar
pbuilder-ee822da2caa038820757c72fc13b8dbd65edd3e3.tar.gz
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....
Diffstat (limited to 'pbuilder-satisfydepends-funcs')
-rwxr-xr-xpbuilder-satisfydepends-funcs4
1 files changed, 2 insertions, 2 deletions
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"