xbps-src: don't mess with masterdir set in argv

This commit is contained in:
John 2024-02-19 13:54:13 +01:00 committed by John Zimmermann
parent 67dec0bf5a
commit 668b4a32ca
1 changed files with 2 additions and 0 deletions

View File

@ -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