summaryrefslogtreecommitdiff
path: root/mk/fetch
diff options
context:
space:
mode:
Diffstat (limited to 'mk/fetch')
-rw-r--r--mk/fetch/fetch.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/mk/fetch/fetch.mk b/mk/fetch/fetch.mk
index 1c850e85263..d2e00016dc4 100644
--- a/mk/fetch/fetch.mk
+++ b/mk/fetch/fetch.mk
@@ -1,4 +1,4 @@
-# $NetBSD: fetch.mk,v 1.2 2006/06/06 03:36:00 jlam Exp $
+# $NetBSD: fetch.mk,v 1.3 2006/06/20 14:50:27 jlam Exp $
######################################################################
### fetch (PUBLIC)
@@ -148,7 +148,7 @@ _FETCH_FILE= \
${AWK} 'NF == 5 && $$1 == "Size" && $$2 == "('$$bfile')" { printf("=> [%s %s]\n", $$4, $$5) }' ${DISTINFO_FILE}; \
fi; \
if ${FETCH_CMD} ${FETCH_BEFORE_ARGS} $${site}$${bfile} ${FETCH_AFTER_ARGS}; then \
- if [ -n "${FAILOVER_FETCH}" -a -f ${DISTINFO_FILE} -a -f ${_DISTDIR}/$$bfile ]; then \
+ if [ -n ${FAILOVER_FETCH:Dyes}"" -a -f ${DISTINFO_FILE} -a -f ${_DISTDIR}/$$bfile ]; then \
alg=`${AWK} 'NF == 4 && $$2 == "('$$file')" && $$3 == "=" {print $$1; exit}' ${DISTINFO_FILE}`; \
if [ -z "$$alg" ]; then \
alg=${PATCH_DIGEST_ALGORITHM};\