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-classic | |
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-classic')
-rwxr-xr-x | pbuilder-satisfydepends-classic | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pbuilder-satisfydepends-classic b/pbuilder-satisfydepends-classic index 616e414..f15af79 100755 --- a/pbuilder-satisfydepends-classic +++ b/pbuilder-satisfydepends-classic @@ -35,7 +35,7 @@ function checkbuilddep_internal () { local SATISFIED local APTFLAG="-o APT::Install-Recommends=false" echo " -> Attempting to parse the build-deps " - for INSTALLPKGMULTI in $(get_control_re "$DEBIAN_CONTROL" "$BD_REGEXP" | + for INSTALLPKGMULTI in $(get_build_deps | tr " " "/" | \ awk 'BEGIN{RS=","} {print}'); do echo " -> Considering build-dep$(echo "$INSTALLPKGMULTI" | tr "/" " " )" @@ -113,7 +113,7 @@ function checkbuilddep_internal () { fi # start processing build-conflicts. - for INSTALLPKG in $(get_control_re "$DEBIAN_CONTROL" "$BC_REGEXP" | + for INSTALLPKG in $(get_build_conflicts | tr " " "/" | \ awk 'BEGIN{RS=","} {print}'); do CURRENTREALPKGNAME=$(echo "$INSTALLPKG" | sed -e 's#^/*##' -e 's#[[/(].*##') |