xbps-src/cross: force installation of cross pkgs just in case.

This commit is contained in:
Juan RP 2015-04-14 10:47:25 +02:00
parent 9a7350c3da
commit 14849336aa
1 changed files with 2 additions and 2 deletions

View File

@ -38,7 +38,7 @@ prepare_cross_sysroot() {
msg_normal "Installing $cross cross pkg: cross-vpkg-dummy ...\n"
errlog=$(mktemp)
$XBPS_INSTALL_XCMD -SAyd cross-vpkg-dummy &>$errlog
$XBPS_INSTALL_XCMD -SAyfd cross-vpkg-dummy &>$errlog
rval=$?
if [ $rval -ne 0 -a $rval -ne 17 ]; then
msg_red "failed to install cross-vpkg-dummy (error $rval)\n"
@ -68,7 +68,7 @@ install_cross_pkg() {
errlog=$(mktemp)
msg_normal "Installing $cross cross compiler: cross-${XBPS_CROSS_TRIPLET} ...\n"
$XBPS_INSTALL_CMD -Syd cross-${XBPS_CROSS_TRIPLET} &>$errlog
$XBPS_INSTALL_CMD -Syfd cross-${XBPS_CROSS_TRIPLET} &>$errlog
rval=$?
if [ $rval -ne 0 -a $rval -ne 17 ]; then
msg_red "failed to install cross-${XBPS_CROSS_TRIPLET} (error $rval)\n"