xbps-src/common.sh: recursively remove all cross pkgs.

This commit is contained in:
Juan RP 2014-05-19 16:45:34 +02:00
parent 1f208fde81
commit 3ba23bbc4f
1 changed files with 1 additions and 1 deletions

View File

@ -532,7 +532,7 @@ remove_cross_pkg() {
fi
msg_normal "Removing cross pkg: cross-${XBPS_CROSS_TRIPLET} ...\n"
$XBPS_REMOVE_CMD -y cross-${XBPS_CROSS_TRIPLET} &>/dev/null
$XBPS_REMOVE_CMD -Ry cross-${XBPS_CROSS_TRIPLET} &>/dev/null
rval=$?
if [ $rval -ne 0 ]; then
msg_error "failed to remove cross-${XBPS_CROSS_TRIPLET} (error $rval)\n"