diff --git a/common/xbps-src/shutils/pkgtarget.sh b/common/xbps-src/shutils/pkgtarget.sh index d36240481b..c8da8a64b7 100644 --- a/common/xbps-src/shutils/pkgtarget.sh +++ b/common/xbps-src/shutils/pkgtarget.sh @@ -110,7 +110,7 @@ install_pkg() { rm -f ${_log} fi - if [ "$XBPS_TARGET_PKG" = "$sourcepkg" ]; then + if [ "$XBPS_TARGET_PKG" = "$sourcepkg" -a "$XBPS_TARGET" != "bootstrap" ]; then # Package built successfully. Exit directly due to nested install_pkg # and install_pkg_deps functions. remove_cross_pkg $cross