diff options
author | Kris Kennaway <kris@FreeBSD.org> | 2003-01-24 04:59:03 +0000 |
---|---|---|
committer | Kris Kennaway <kris@FreeBSD.org> | 2003-01-24 04:59:03 +0000 |
commit | 220758235c595e44c09c73598f8cddad869f2c40 (patch) | |
tree | b795c7298348c62c1e12da0a4998ec890c53a548 | |
parent | f681cbe4c606f0eb4c464cd6b9e8f88cb2419620 (diff) | |
download | ports-220758235c595e44c09c73598f8cddad869f2c40.tar.gz ports-220758235c595e44c09c73598f8cddad869f2c40.zip |
Notes
-rwxr-xr-x | Tools/portbuild/scripts/stats | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/Tools/portbuild/scripts/stats b/Tools/portbuild/scripts/stats new file mode 100755 index 000000000000..0040dd3ee6d6 --- /dev/null +++ b/Tools/portbuild/scripts/stats @@ -0,0 +1,17 @@ +#!/bin/sh + +if [ $# -ne 1 ]; then + echo "usage: <branch>" + exit 1 +fi + +branch=$1 + +for i in i386 alpha sparc64 ia64; do + if [ -d /var/portbuild/$i/${branch}/packages/All ]; then + cd /var/portbuild/$i/${branch}/packages/All + count=$(find . -name \*.tbz -o -name \*.tgz |wc -l) + echo -n "$i: ${count} " + fi +done +echo |