aboutsummaryrefslogtreecommitdiff
path: root/pbuilder-buildpackage-funcs
diff options
context:
space:
mode:
Diffstat (limited to 'pbuilder-buildpackage-funcs')
-rw-r--r--pbuilder-buildpackage-funcs19
1 files changed, 0 insertions, 19 deletions
diff --git a/pbuilder-buildpackage-funcs b/pbuilder-buildpackage-funcs
index fedbfc4..0c19dc7 100644
--- a/pbuilder-buildpackage-funcs
+++ b/pbuilder-buildpackage-funcs
@@ -30,25 +30,6 @@ function copydsc () {
done
}
-function checkarchitecture () {
- local DSCFILE="$1"
- local ARCHES="$(cat $DSCFILE | grep Architecture | sed 's/^[^:]\+:\s*//')"
- local ARCH=$(dpkg-architecture -qDEB_HOST_ARCH)
- local VALID_ARCH
- for d in $ARCHES; do
- if dpkg-architecture -a$ARCH -i$d; then
- VALID_ARCH="yes"
- break
- fi
- done
- if [ ! $VALID_ARCH ] && [ ! "$ARCHES" = "all" ]; then
- local msg="E: $ARCH not in arch list or does not match any "
- msg="$msg arch wildcards: $ARCHES"
- log $msg
- exit 2
- fi
-}
-
function checkbuilddep () {
# call satisfydepends
local BUILDOPT="--binary-all"