xbps-src: a more meaningful msg when dep cannot be resolved.

This commit is contained in:
Juan RP 2015-04-30 09:09:03 +02:00
parent 6c0da32b6b
commit 11836f56c1
1 changed files with 2 additions and 2 deletions

View File

@ -179,7 +179,7 @@ srcpkg_get_version() {
unset XBPS_BINPKG_EXISTS
setup_pkg $pkg || exit $?
echo "${version}_${revision}"
) || exit $?
) || msg_error "$pkgver: failed to transform dependency $pkg\n"
}
srcpkg_get_pkgver() {
@ -189,7 +189,7 @@ srcpkg_get_pkgver() {
unset XBPS_BINPKG_EXISTS
setup_pkg $pkg || exit $?
echo "${sourcepkg}-${version}_${revision}"
) || exit $?
) || msg_error "$pkgver: failed to transform dependency $pkg\n"
}
#