xbps-src: a more meaningful msg when dep cannot be resolved.
This commit is contained in:
parent
6c0da32b6b
commit
11836f56c1
|
@ -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"
|
||||
}
|
||||
|
||||
#
|
||||
|
|
Loading…
Reference in New Issue