summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authortnn <tnn>2009-07-20 09:09:02 +0000
committertnn <tnn>2009-07-20 09:09:02 +0000
commitd9bd4dc3690375cb76f52ec05b647d88181b84f3 (patch)
treea347edea10e2463e2bb2e88c3d5678676c261a55 /mk
parent2b400e25df3534b6fa651c877459004cda7f7a08 (diff)
downloadpkgsrc-d9bd4dc3690375cb76f52ec05b647d88181b84f3.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')
-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 )