xbps-src: limit warning on file:/// mirror to related targets
This commit is contained in:
parent
cd01d78d8f
commit
fd2555fa73
5
xbps-src
5
xbps-src
|
@ -337,7 +337,10 @@ setup_distfiles_mirror() {
|
|||
mkdir -p "$XBPS_MASTERDIR/$path"
|
||||
XBPS_CHROOT_CMD_ARGS+=" -b $path:$path"
|
||||
else
|
||||
msg_warn "xbps-src: File URLs ($mirror) don't work with '$XBPS_CHROOT_CMD'\n"
|
||||
case "$XBPS_TARGET" in
|
||||
fetch|extract|patch|configure|build|check|install|pkg|bootstrap|bootstrap-update|update-sys)
|
||||
msg_warn "xbps-src: File URLs ($mirror) don't work with '$XBPS_CHROOT_CMD'\n"
|
||||
esac
|
||||
fi
|
||||
done
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue