summaryrefslogtreecommitdiff
path: root/mk/fetch
diff options
context:
space:
mode:
authorplunky <plunky@pkgsrc.org>2011-06-19 10:23:56 +0000
committerplunky <plunky@pkgsrc.org>2011-06-19 10:23:56 +0000
commitd4315439fa89710a5a6060e2ba6f50f0d13d0829 (patch)
tree2d1309c8aa0ceb3a2d488353e8a6d705df881456 /mk/fetch
parente4a119fd1701697b614692c56988b127bfaa575a (diff)
downloadpkgsrc-d4315439fa89710a5a6060e2ba6f50f0d13d0829.tar.gz
use _FETCH_OUTPUT_ARGS also for fetch-list output
Diffstat (limited to 'mk/fetch')
-rw-r--r--mk/fetch/fetch-list.mk6
1 files changed, 3 insertions, 3 deletions
diff --git a/mk/fetch/fetch-list.mk b/mk/fetch/fetch-list.mk
index e5ca50d914e..58d5b68b2b6 100644
--- a/mk/fetch/fetch-list.mk
+++ b/mk/fetch/fetch-list.mk
@@ -1,4 +1,4 @@
-# $NetBSD: fetch-list.mk,v 1.13 2009/03/06 10:54:42 tnn Exp $
+# $NetBSD: fetch-list.mk,v 1.14 2011/06/19 10:23:56 plunky Exp $
######################################################################
### fetch-list (PUBLIC)
@@ -82,7 +82,7 @@ fetch-list-one-pkg:
${ECHO} "${MKDIR} ${_DISTDIR}"; \
${ECHO} 'cd ${_DISTDIR} && { [ -f ${fetchfile} -o -f ${fetchfile:T} ] ||'; \
${ECHO} 'for site in $$sites; do'; \
- ${ECHO} ' ${_FETCH_CMD.${FETCH_USING}} ${_FETCH_BEFORE_ARGS.${FETCH_USING}} "$${site}${fetchfile:T}" ${_FETCH_AFTER_ARGS.${FETCH_USING}} && break ||'; \
+ ${ECHO} ' ${_FETCH_CMD.${FETCH_USING}} ${_FETCH_BEFORE_ARGS.${FETCH_USING}} ${_FETCH_OUTPUT_ARGS.${FETCH_USING}} ${fetchfile:T} "$${site}${fetchfile:T}" ${_FETCH_AFTER_ARGS.${FETCH_USING}} && break ||'; \
${ECHO} ' ${ECHO} ${fetchfile:T} not fetched'; \
${ECHO} 'done; }'; \
${ECHO} ')'; \
@@ -100,7 +100,7 @@ fetch-list-one-pkg:
${ECHO} "${MKDIR} ${_DISTDIR}"; \
${ECHO} 'cd ${_DISTDIR} && { [ -f ${fetchfile} -o -f ${fetchfile:T} ] ||'; \
${ECHO} 'for site in $$sites; do'; \
- ${ECHO} ' ${_FETCH_CMD.${FETCH_USING}} ${_FETCH_BEFORE_ARGS.${FETCH_USING}} "$${site}${fetchfile:T}" ${_FETCH_AFTER_ARGS.${FETCH_USING}} && break ||'; \
+ ${ECHO} ' ${_FETCH_CMD.${FETCH_USING}} ${_FETCH_BEFORE_ARGS.${FETCH_USING}} ${_FETCH_OUTPUT_ARGS.${FETCH_USING}} ${fetchfile:T} "$${site}${fetchfile:T}" ${_FETCH_AFTER_ARGS.${FETCH_USING}} && break ||'; \
${ECHO} ' ${ECHO} ${fetchfile:T} not fetched'; \
${ECHO} 'done; }'; \
fi)