diff options
author | Loïc Minier <lool@dooz.org> | 2010-01-04 12:44:08 +0100 |
---|---|---|
committer | Loïc Minier <lool@dooz.org> | 2010-01-04 12:44:08 +0100 |
commit | dba6e3e7b0c66823103b2197728f9458700eefcc (patch) | |
tree | 368b90ebcfac40aee64331f14b579ca38a4703db /pbuilder-satisfydepends-aptitude | |
parent | 59429f3def6cf3e8e932da39af0bc8fb62ac97bd (diff) | |
download | pbuilder-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-x | pbuilder-satisfydepends-aptitude | 4 |
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" |