summaryrefslogtreecommitdiff
path: root/mk/fetch
diff options
context:
space:
mode:
authorjlam <jlam>2006-07-19 15:13:40 +0000
committerjlam <jlam>2006-07-19 15:13:40 +0000
commitac06abb2deb5292fe16653e52be529075b77ebfc (patch)
tree3eef7da4fb70efccb9ea5f3d0fe4d974d6b5f73a /mk/fetch
parent850bbcb499b176967ea885d88996229936c1a665 (diff)
downloadpkgsrc-ac06abb2deb5292fe16653e52be529075b77ebfc.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