xbps-src: only remove deps before building on travis builds.

This assumes -C is set without -t and XBPS_CHROOT_CMD set to proot.

A stupid workaround for now...
This commit is contained in:
Juan RP 2015-07-29 10:52:10 +02:00
parent 9ce1ac7894
commit 5a40351feb

View file

@ -34,7 +34,7 @@ if [ -z "$XBPS_CROSS_PREPARE" ]; then
install_cross_pkg $XBPS_CROSS_BUILD || exit $?
prepare_cross_sysroot $XBPS_CROSS_BUILD || exit $?
fi
if [ -z "$XBPS_DEPENDENCY" -a -z "$XBPS_TEMP_MASTERDIR" ]; then
if [ -z "$XBPS_DEPENDENCY" -a -z "$XBPS_TEMP_MASTERDIR" -a -n "$XBPS_KEEP_ALL" -a "$XBPS_CHROOT_CMD" = "proot" ]; then
remove_pkg_autodeps
fi
# Install dependencies from binary packages