pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/mk/bulk Removed the code for printing progress informa...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/9512b23cbe26
branches:  trunk
changeset: 503141:9512b23cbe26
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Mon Nov 14 20:58:12 2005 +0000

description:
Removed the code for printing progress information again, as printindex
is mostly used in batch mode. Impatient users should count the number of
lines in the output file if they can't wait.

diffstat:

 mk/bulk/printdepends |  18 +-----------------
 1 files changed, 1 insertions(+), 17 deletions(-)

diffs (38 lines):

diff -r af3b194834d0 -r 9512b23cbe26 mk/bulk/printdepends
--- a/mk/bulk/printdepends      Mon Nov 14 20:41:38 2005 +0000
+++ b/mk/bulk/printdepends      Mon Nov 14 20:58:12 2005 +0000
@@ -1,5 +1,5 @@
 #!/bin/sh
-# $NetBSD: printdepends,v 1.18 2005/11/05 10:14:43 rillig Exp $
+# $NetBSD: printdepends,v 1.19 2005/11/14 20:58:12 rillig Exp $
 
 #
 # Copyright (c) 1999, 2000 Hubert Feyrer <hubertf%NetBSD.org@localhost>
@@ -78,15 +78,6 @@
 # cache the package list for printindex
 echo list='"'${list}'"' > .pkglist
 
-pkgbar=""
-for i in $list; do
-  pkgbar="${pkgbar} a"
-done
-npackages=`echo "$pkgbar" | wc -w`
-npackages=`echo $npackages`
-
-cpackages=0
-cpackages_mod_50=""
 for pkgdir in $list
 do
        if [ ! -d $pkgdir ]; then
@@ -115,11 +106,4 @@
                        fi
                fi
        fi
-       cpackages_mod_50="${cpackages_mod_50}+";
-       case $cpackages_mod_50 in
-       ++++++++++++++++++++++++++++++++++++++++++++++++++)
-               cpackages_mod_50=""
-               cpackages=`expr $cpackages + 50`
-               echo "${cpackages} of ${npackages} packages finished." 1>&2;;
-       esac
 done



Home | Main Index | Thread Index | Old Index