From 220758235c595e44c09c73598f8cddad869f2c40 Mon Sep 17 00:00:00 2001 From: Kris Kennaway Date: Fri, 24 Jan 2003 04:59:03 +0000 Subject: Simple script to check the number of packages built on the various architectures, for a given branch. --- Tools/portbuild/scripts/stats | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100755 Tools/portbuild/scripts/stats 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: " + 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 -- cgit v1.2.3