summaryrefslogtreecommitdiff
path: root/mk
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
commitd0f197089a3b37289ca86454e2749691b30ae218 (patch)
tree3eef7da4fb70efccb9ea5f3d0fe4d974d6b5f73a /mk
parent88a7e214498401b726e2db33983b855959b8b3e9 (diff)
downloadpkgsrc-d0f197089a3b37289ca86454e2749691b30ae218.tar.gz
Comment the code a bit more.
Diffstat (limited to 'mk')
-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