From 1e905ec5867eadcb30ff70a990e6759d2732535e Mon Sep 17 00:00:00 2001 From: John Date: Mon, 19 Feb 2024 13:54:13 +0100 Subject: [PATCH] xbps-src: don't mess with masterdir set in argv --- xbps-src | 2 ++ 1 file changed, 2 insertions(+) diff --git a/xbps-src b/xbps-src index 53fecd9bb46bd8..b3f61d53dc4787 100755 --- a/xbps-src +++ b/xbps-src @@ -536,6 +536,8 @@ fi # unless in a container for simplicity of container/CI usage if [ "$XBPS_CHROOT_CMD" = ethereal ]; then : "${XBPS_MASTERDIR:=$XBPS_DISTDIR/masterdir}" +elif [ -n "$XBPS_ARG_MASTERDIR" ]; then + : # Don't mess with masterdir in argv else : "${XBPS_MASTERDIR:=$XBPS_DISTDIR/masterdir-$XBPS_MACHINE}" # but use $XBPS_DISTDIR/masterdir if it exists and the new style doesn't