summaryrefslogtreecommitdiff
path: root/build.c
diff options
context:
space:
mode:
authorjbj <devnull@localhost>2002-06-12 14:54:06 +0000
committerjbj <devnull@localhost>2002-06-12 14:54:06 +0000
commit93e968c51534a33f75eaa0459edd8afa1008744a (patch)
tree16979c9eef8b9d96e9d71f3c344ba3c6670562c0 /build.c
parent93ae345321b41b7e964fc5f31c95a62039e2afbe (diff)
downloadlibrpm-tizen-93e968c51534a33f75eaa0459edd8afa1008744a.tar.gz
librpm-tizen-93e968c51534a33f75eaa0459edd8afa1008744a.tar.bz2
librpm-tizen-93e968c51534a33f75eaa0459edd8afa1008744a.zip
Orphan.
CVS patchset: 5482 CVS date: 2002/06/12 14:54:06
Diffstat (limited to 'build.c')
-rw-r--r--build.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/build.c b/build.c
index 9be05e0be..72f27da70 100644
--- a/build.c
+++ b/build.c
@@ -36,7 +36,7 @@ static int checkSpec(rpmts ts, Header h)
rc = rpmtsCheck(ts);
ps = rpmtsProblems(ts);
- if (rc == 0 && ps) {
+ if (rc == 0 && rpmpsNumProblems(ps) > 0) {
rpmMessage(RPMMESS_ERROR, _("Failed build dependencies:\n"));
printDepProblems(stderr, ps);
rc = 1;