diff options
author | dancer <dancer> | 2002-03-13 01:29:05 +0000 |
---|---|---|
committer | dancer <dancer> | 2002-03-13 01:29:05 +0000 |
commit | 7ac6b42b7262d9c7467c953cbf488d9b2e663e99 (patch) | |
tree | 8a3b74a60756797e10301ec81737cc45eb904a9c /pbuilder-buildpackage | |
parent | afb79b8c279baa57e1c2e9409acf0d0ddb017d7c (diff) | |
download | pbuilder-7ac6b42b7262d9c7467c953cbf488d9b2e663e99.tar pbuilder-7ac6b42b7262d9c7467c953cbf488d9b2e663e99.tar.gz |
some minor fixups for satisfydepends workage.
It is getting closer to working state. I think.
Diffstat (limited to 'pbuilder-buildpackage')
-rwxr-xr-x | pbuilder-buildpackage | 7 |
1 files changed, 5 insertions, 2 deletions
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} |