summaryrefslogtreecommitdiffstats
path: root/usr.sbin
diff options
context:
space:
mode:
authorcperciva <cperciva@FreeBSD.org>2005-08-13 11:55:29 +0000
committercperciva <cperciva@FreeBSD.org>2005-08-13 11:55:29 +0000
commit4bcaa2acb8bba06a1770686b53a1770a2bc7acbe (patch)
tree06f4f816050993c89d2f8904e518d343ea90e97c /usr.sbin
parentf6434969628744c99a49f83d6ff55743d40a5ff2 (diff)
downloadFreeBSD-src-4bcaa2acb8bba06a1770686b53a1770a2bc7acbe.zip
FreeBSD-src-4bcaa2acb8bba06a1770686b53a1770a2bc7acbe.tar.gz
Fix the progress statistics code by printing the right variable. I
missed this when I changed the stats code in the ports -> base transition. Pointed out by: simon
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/portsnap/portsnap/portsnap.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/portsnap/portsnap/portsnap.sh b/usr.sbin/portsnap/portsnap/portsnap.sh
index a30c11b..47e7d46 100644
--- a/usr.sbin/portsnap/portsnap/portsnap.sh
+++ b/usr.sbin/portsnap/portsnap/portsnap.sh
@@ -517,7 +517,7 @@ fetch_progress() {
while read x; do
LNC=$(($LNC + 1))
if [ $(($LNC % 10)) = 0 ]; then
- echo -n $FN2
+ echo -n $LNC
elif [ $(($LNC % 2)) = 0 ]; then
echo -n .
fi
OpenPOWER on IntegriCloud