xbps-src: return 0 on success, 1 on error and 2 on nocross/broken (ignore).

This commit is contained in:
Juan RP 2015-03-19 10:08:02 +01:00
parent bc3c2eecaf
commit 0337b86f43
4 changed files with 8 additions and 8 deletions

View file

@ -29,7 +29,7 @@ install_cross_pkg $XBPS_CROSS_BUILD
# Install dependencies from binary packages
if [ "$PKGNAME" != "$TARGET_PKG" -o -z "$XBPS_SKIP_DEPS" ]; then
install_pkg_deps $PKGNAME $TARGET_PKG pkg $XBPS_CROSS_BUILD || exit 1
install_pkg_deps $PKGNAME $TARGET_PKG pkg $XBPS_CROSS_BUILD || exit $?
fi
# Fetch distfiles after installing required dependencies,