summaryrefslogtreecommitdiff
path: root/mk/fetch
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2006-07-19 15:13:40 +0000
committerjlam <jlam@pkgsrc.org>2006-07-19 15:13:40 +0000
commitec6f4ba41309a4d0d86965be1ad5d8bf5cb5ead0 (patch)
tree3eef7da4fb70efccb9ea5f3d0fe4d974d6b5f73a /mk/fetch
parent3c8ae208018b2b4d646575d74de9468d2fed5983 (diff)
downloadpkgsrc-ec6f4ba41309a4d0d86965be1ad5d8bf5cb5ead0.tar.gz
Comment the code a bit more.
Diffstat (limited to 'mk/fetch')
-rwxr-xr-xmk/fetch/fetch5
1 files changed, 4 insertions, 1 deletions
diff --git a/mk/fetch/fetch b/mk/fetch/fetch
index 442b206c443..05ac185a913 100755
--- a/mk/fetch/fetch
+++ b/mk/fetch/fetch
@@ -1,6 +1,6 @@
#!/bin/sh
#
-# $NetBSD: fetch,v 1.3 2006/07/19 14:16:29 jlam Exp $
+# $NetBSD: fetch,v 1.4 2006/07/19 15:13:40 jlam Exp $
#
# Copyright (c) 2006 The NetBSD Foundation, Inc.
# All rights reserved.
@@ -254,6 +254,9 @@ if ${TEST} -n "$resume"; then
fi
${TEST} -z "$distsize" || ${ECHO} "=> Total size: $distsize $distunits"
+# Iterate over each site and try to fetch the file. We verify the fetched
+# file to see if we need to try fetching from the next site.
+#
while ${TEST} $# -gt 0; do
site="$1"; shift