xbps-src: return early in the bootstrap target when all deps are built.

This fixes the last issue for the 'bootstrap' target... this requires
xbps>=0.43.1 to work properly.
This commit is contained in:
Juan RP 2015-01-05 17:11:23 +01:00
parent 064e68acb4
commit 29b171a284

View file

@ -113,11 +113,15 @@ install_pkg() {
rm -f ${_log} rm -f ${_log}
fi fi
if [ "$XBPS_TARGET_PKG" = "$sourcepkg" -a "$XBPS_TARGET" != "bootstrap" ]; then if [ "$XBPS_TARGET_PKG" = "$sourcepkg" ]; then
# Package built successfully. Exit directly due to nested install_pkg if [ "$XBPS_TARGET" = "bootstrap" ]; then
# and install_pkg_deps functions. return 0
remove_cross_pkg $cross else
exit 0 # Package built successfully. Exit directly due to nested install_pkg
# and install_pkg_deps functions.
remove_cross_pkg $cross
exit 0
fi
fi fi
} }