--- a/src/svc/svc-pkg-mirror Mon Sep 23 11:05:02 2013 +0530
+++ b/src/svc/svc-pkg-mirror Tue Sep 24 09:31:16 2013 +1200
@@ -281,6 +281,7 @@
# we want to pkgrecv from.
#
i=0
+ index=0
while [ $i -lt ${#publishers[@]} ]; do
pub=${publishers[$i]}
sslkey=$($PKG -R $ref_image publisher $pub \
@@ -291,7 +292,6 @@
| $GREP -v None | $SED -e 's/.* //g')
$PKG -R $ref_image publisher -F tsv > /tmp/pkg.mirror.$$
- index=0
#
# this function depends on the output of
# 'pkg publisher -F tsv'. It really ought to use