xbps-src/build.sh: error out if installing cross pkgs fails for some reason.
This commit is contained in:
parent
ed645e3a2f
commit
ba814ab5c7
1 changed files with 2 additions and 2 deletions
|
@ -31,8 +31,8 @@ show_pkg_build_options
|
||||||
check_pkg_arch $XBPS_CROSS_BUILD
|
check_pkg_arch $XBPS_CROSS_BUILD
|
||||||
|
|
||||||
if [ -z "$XBPS_CROSS_PREPARE" ]; then
|
if [ -z "$XBPS_CROSS_PREPARE" ]; then
|
||||||
install_cross_pkg $XBPS_CROSS_BUILD
|
install_cross_pkg $XBPS_CROSS_BUILD || exit $?
|
||||||
prepare_cross_sysroot $XBPS_CROSS_BUILD
|
prepare_cross_sysroot $XBPS_CROSS_BUILD || exit $?
|
||||||
fi
|
fi
|
||||||
# Install dependencies from binary packages
|
# Install dependencies from binary packages
|
||||||
if [ "$PKGNAME" != "$TARGET_PKG" -o -z "$XBPS_SKIP_DEPS" ]; then
|
if [ "$PKGNAME" != "$TARGET_PKG" -o -z "$XBPS_SKIP_DEPS" ]; then
|
||||||
|
|
Loading…
Reference in a new issue