From dba6e3e7b0c66823103b2197728f9458700eefcc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Minier?= Date: Mon, 4 Jan 2010 12:44:08 +0100 Subject: 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. --- pbuilder-satisfydepends-classic | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'pbuilder-satisfydepends-classic') 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#[[/(].*##') -- cgit v1.2.3