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

@ -618,7 +618,7 @@ case "$XBPS_TARGET" in
else
[ -z "$XBPS_TEMP_MASTERDIR" ] && remove_pkg_autodeps
$XBPS_LIBEXECDIR/build.sh $XBPS_TARGET_PKG $XBPS_TARGET_PKG \
$XBPS_TARGET $XBPS_CROSS_BUILD || exit 1
$XBPS_TARGET $XBPS_CROSS_BUILD || exit $?
fi
;;
remove|remove-destdir)