Fix fetch-list.
PR: 207875 Sponsored by: Absolight
This commit is contained in:
parent
506a4bbae7
commit
c1d9f32b40
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=410767
@ -4005,13 +4005,14 @@ fetch-list:
|
||||
else \
|
||||
SORTED_MASTER_SITES_CMD_TMP="${SORTED_MASTER_SITES_DEFAULT_CMD}" ; \
|
||||
fi; \
|
||||
${ECHO_CMD} -n ${MKDIR} ${_DISTDIR} '&& ' ; \
|
||||
${ECHO_CMD} -n cd ${_DISTDIR} '&& { ' ; \
|
||||
for site in `eval $$SORTED_MASTER_SITES_CMD_TMP ${_RANDOMIZE_SITES}`; do \
|
||||
if [ ! -z "`${ECHO_CMD} ${NOFETCHFILES} | ${GREP} -w $${file}`" ]; then \
|
||||
if [ -z "`${ECHO_CMD} ${MASTER_SITE_OVERRIDE} | ${GREP} -w $${site}`" ]; then \
|
||||
continue; \
|
||||
fi; \
|
||||
fi; \
|
||||
DIR=${DIST_SUBDIR};\
|
||||
CKSIZE=`alg=SIZE; ${DISTINFO_DATA}`; \
|
||||
case $${file} in \
|
||||
*/*) args="-o $${file} $${site}$${file}";; \
|
||||
@ -4019,7 +4020,7 @@ fetch-list:
|
||||
esac; \
|
||||
${ECHO_CMD} -n ${SETENV} ${FETCH_ENV} ${FETCH_CMD} ${FETCH_BEFORE_ARGS} $${args} "${FETCH_AFTER_ARGS}" '|| ' ; \
|
||||
done; \
|
||||
${ECHO_CMD} "${ECHO_CMD} $${file} not fetched" ; \
|
||||
${ECHO_CMD} "${ECHO_CMD} $${file} not fetched; }" ; \
|
||||
fi; \
|
||||
done)
|
||||
.if defined(PATCHFILES)
|
||||
@ -4047,6 +4048,8 @@ fetch-list:
|
||||
else \
|
||||
SORTED_PATCH_SITES_CMD_TMP="${SORTED_PATCH_SITES_DEFAULT_CMD}" ; \
|
||||
fi; \
|
||||
${ECHO_CMD} -n ${MKDIR} ${_DISTDIR} '&& ' ; \
|
||||
${ECHO_CMD} -n cd ${_DISTDIR} '&& { ' ; \
|
||||
for site in `eval $$SORTED_PATCH_SITES_CMD_TMP ${_RANDOMIZE_SITES}`; do \
|
||||
CKSIZE=`alg=SIZE; ${DISTINFO_DATA}`; \
|
||||
case $${file} in \
|
||||
@ -4055,7 +4058,7 @@ fetch-list:
|
||||
esac; \
|
||||
${ECHO_CMD} -n ${SETENV} ${FETCH_ENV} ${FETCH_CMD} ${FETCH_BEFORE_ARGS} $${args} "${FETCH_AFTER_ARGS}" '|| ' ; \
|
||||
done; \
|
||||
${ECHO_CMD} "${ECHO_CMD} $${file} not fetched" ; \
|
||||
${ECHO_CMD} "${ECHO_CMD} $${file} not fetched; }" ; \
|
||||
fi; \
|
||||
done)
|
||||
.endif
|
||||
|
Loading…
Reference in New Issue
Block a user