pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/mk/fetch Specify the name of the distfile instead of a...
details: https://anonhg.NetBSD.org/pkgsrc/rev/0ff1557c661b
branches: trunk
changeset: 562058:0ff1557c661b
user: tnn <tnn%pkgsrc.org@localhost>
date: Mon Jul 20 09:09:02 2009 +0000
description:
Specify the name of the distfile instead of allowing the fetch tool to
infer it from the URL. No objections on tech-pkg@
diffstat:
mk/fetch/fetch | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (20 lines):
diff -r 1584a04c3155 -r 0ff1557c661b mk/fetch/fetch
--- a/mk/fetch/fetch Mon Jul 20 06:01:39 2009 +0000
+++ b/mk/fetch/fetch Mon Jul 20 09:09:02 2009 +0000
@@ -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 @@
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 )
Home |
Main Index |
Thread Index |
Old Index