From 5a40351feb592fba0245e12c51e590a52d8c64d5 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Wed, 29 Jul 2015 10:52:10 +0200 Subject: [PATCH] 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... --- common/xbps-src/libexec/build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/xbps-src/libexec/build.sh b/common/xbps-src/libexec/build.sh index fb798619b96..710f4801b4e 100755 --- a/common/xbps-src/libexec/build.sh +++ b/common/xbps-src/libexec/build.sh @@ -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