aboutsummaryrefslogtreecommitdiff
path: root/pbuilder-satisfydepends-aptitude
diff options
context:
space:
mode:
authorLoïc Minier <lool@dooz.org>2010-01-04 12:44:08 +0100
committerLoïc Minier <lool@dooz.org>2010-01-04 12:44:08 +0100
commitdba6e3e7b0c66823103b2197728f9458700eefcc (patch)
tree368b90ebcfac40aee64331f14b579ca38a4703db /pbuilder-satisfydepends-aptitude
parent59429f3def6cf3e8e932da39af0bc8fb62ac97bd (diff)
downloadpbuilder-dba6e3e7b0c66823103b2197728f9458700eefcc.tar
pbuilder-dba6e3e7b0c66823103b2197728f9458700eefcc.tar.gz
Add get_build_deps() and get_build_conflicts()
Add get_build_deps() and get_build_conflicts() functions wrapping get_control_re() for BD_REGEXP and BC_REGEXP over DEBIAN_CONTROL.
Diffstat (limited to 'pbuilder-satisfydepends-aptitude')
-rwxr-xr-xpbuilder-satisfydepends-aptitude4
1 files changed, 2 insertions, 2 deletions
diff --git a/pbuilder-satisfydepends-aptitude b/pbuilder-satisfydepends-aptitude
index d685477..1031497 100755
--- a/pbuilder-satisfydepends-aptitude
+++ b/pbuilder-satisfydepends-aptitude
@@ -62,8 +62,8 @@ function checkbuilddep_internal () {
local DEPENDS
local CONFLICTS
echo " -> Attempting to satisfy build-dependencies"
- DEPENDS="$(get_control_re "$DEBIAN_CONTROL" "$BD_REGEXP" | filter_arch_deps "$ARCH")"
- CONFLICTS="$(get_control_re "$DEBIAN_CONTROL" "$BC_REGEXP" | filter_arch_deps "$ARCH")"
+ DEPENDS="$(get_build_deps | filter_arch_deps "$ARCH")"
+ CONFLICTS="$(get_build_conflicts | filter_arch_deps "$ARCH")"
echo " -> Creating pbuilder-satisfydepends-dummy package"
BUILD_DEP_DEB_DIR="/tmp/satisfydepends-aptitude"
BUILD_DEP_DEB_CONTROL="$BUILD_DEP_DEB_DIR/pbuilder-satisfydepends-dummy/DEBIAN/control"