From a9b7d0260be81633bb38b628cbffc693c88cf8cf Mon Sep 17 00:00:00 2001 From: Colin Percival Date: Sat, 13 Aug 2005 11:55:29 +0000 Subject: [PATCH] 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 --- usr.sbin/portsnap/portsnap/portsnap.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usr.sbin/portsnap/portsnap/portsnap.sh b/usr.sbin/portsnap/portsnap/portsnap.sh index a30c11bee66b..47e7d462fa08 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