summaryrefslogtreecommitdiff
path: root/mk/fetch
diff options
context:
space:
mode:
authortnn <tnn@pkgsrc.org>2009-07-20 09:09:02 +0000
committertnn <tnn@pkgsrc.org>2009-07-20 09:09:02 +0000
commit2fd0db101afd49f81c789d24cd45147d9c63ffce (patch)
treea347edea10e2463e2bb2e88c3d5678676c261a55 /mk/fetch
parentf938b17fda84f349798d0bdb2338d882b644dbd8 (diff)
downloadpkgsrc-2fd0db101afd49f81c789d24cd45147d9c63ffce.tar.gz
Specify the name of the distfile instead of allowing the fetch tool to
infer it from the URL. No objections on tech-pkg@
Diffstat (limited to 'mk/fetch')
-rwxr-xr-xmk/fetch/fetch4
1 files changed, 2 insertions, 2 deletions
diff --git a/mk/fetch/fetch b/mk/fetch/fetch
index 79ef83a7ca7..93c84d64df1 100755
--- a/mk/fetch/fetch
+++ b/mk/fetch/fetch
@@ -1,6 +1,6 @@
#!/bin/sh
#
-# $NetBSD: fetch,v 1.12 2008/12/15 09:01:30 taca Exp $
+# $NetBSD: fetch,v 1.13 2009/07/20 09:09:02 tnn Exp $
#
# Copyright (c) 2006 The NetBSD Foundation, Inc.
# All rights reserved.
@@ -272,7 +272,7 @@ while ${TEST} $# -gt 0; do
if ${TEST} -n "$resume"; then
fetch_cmd="${FETCH_CMD} ${FETCH_BEFORE_ARGS} ${FETCH_RESUME_ARGS} ${FETCH_OUTPUT_ARGS} $outputfile $site$file"
else
- fetch_cmd="${FETCH_CMD} ${FETCH_BEFORE_ARGS} $site$file ${FETCH_AFTER_ARGS}"
+ fetch_cmd="${FETCH_CMD} ${FETCH_BEFORE_ARGS} ${FETCH_OUTPUT_ARGS} $outputfile $site$file ${FETCH_AFTER_ARGS}"
fi
${TEST} -z "$verbose" || ${ECHO} "$fetch_cmd"
$fetch_cmd )