From 7ac6b42b7262d9c7467c953cbf488d9b2e663e99 Mon Sep 17 00:00:00 2001 From: dancer Date: Wed, 13 Mar 2002 01:29:05 +0000 Subject: some minor fixups for satisfydepends workage. It is getting closer to working state. I think. --- pbuilder-buildpackage | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'pbuilder-buildpackage') diff --git a/pbuilder-buildpackage b/pbuilder-buildpackage index 6ad6d9c..e6d7234 100755 --- a/pbuilder-buildpackage +++ b/pbuilder-buildpackage @@ -33,8 +33,11 @@ function copydsc () { } function checkbuilddep () { - /usr/lib/pbuilder/pbuilder-satisfydepends --control "$BUILDPLACE/"tmp/buildd/*/debian/control --chroot "$BUILDPLACE" - checkbuilddep_internal + if ! /usr/lib/pbuilder/pbuilder-satisfydepends --control "$BUILDPLACE/"tmp/buildd/*/debian/control --chroot "$BUILDPLACE" ; then + echo "E: pbuilder-satisfydepends failed." >&2 + saveaptcache_umountproc_cleanbuildplace + exit 1 + fi # install extra packages to the chroot if [ -n "$EXTRAPACKAGES" ]; then $CHROOTEXEC usr/bin/apt-get -y install ${EXTRAPACKAGES} -- cgit v1.2.3