From 0c9e6e56e79718f89bc6b6efc586bdbd29870328 Mon Sep 17 00:00:00 2001 From: Michael Aldridge Date: Thu, 15 Apr 2021 01:33:58 -0700 Subject: [PATCH] common/xbps-src: Fix remove-obsoletes --- common/xbps-src/shutils/remove_obsoletes.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/xbps-src/shutils/remove_obsoletes.sh b/common/xbps-src/shutils/remove_obsoletes.sh index 506ab6855d..3c4222125a 100644 --- a/common/xbps-src/shutils/remove_obsoletes.sh +++ b/common/xbps-src/shutils/remove_obsoletes.sh @@ -1,6 +1,6 @@ remove_obsoletes () { for repo in $XBPS_HOSTDIR/binpkgs $XBPS_HOSTDIR/binpkgs/debug $XBPS_HOSTDIR/binpkgs/nonfree $XBPS_HOSTDIR/binpkgs/multilib/ $XBPS_HOSTDIR/binpkgs/multilib/nonfree ; do msg_normal "Cleaning $repo\n" - XBPS_ARCH=${XBPS_CROSS_TARGET:-$XBPS_MACHINE} $XBPS_RINDEX_CMD -r $repo + XBPS_ARCH=${XBPS_CROSS_BUILD:-$XBPS_MACHINE} $XBPS_RINDEX_CMD -r $repo done }