diff options
Diffstat (limited to 'pbuilder-buildpackage-funcs')
-rw-r--r-- | pbuilder-buildpackage-funcs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/pbuilder-buildpackage-funcs b/pbuilder-buildpackage-funcs index ea9802e..8aef30d 100644 --- a/pbuilder-buildpackage-funcs +++ b/pbuilder-buildpackage-funcs @@ -31,6 +31,11 @@ function copydsc () { } function checkbuilddep () { + local BUILDOPT="--binary-all" + case "${BINARY_ARCH}" in + yes) BUILDOPT="--binary-arch";; + *) ;; + esac if ! /usr/lib/pbuilder/pbuilder-satisfydepends --control "$BUILDPLACE/"tmp/buildd/*/debian/control --chroot "$BUILDPLACE" --binary-all ; then echo "E: pbuilder-satisfydepends failed." >&2 exit 1 |