summaryrefslogtreecommitdiffstats
path: root/Tools/portbuild/scripts/stats
blob: 2a96c08219d85e05be0ab76c244e9f44e6a55213 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/sh

if [ $# -ne 1 ]; then
	echo "usage: <branch>"
	exit 1
fi

branch=$1

for i in i386 alpha sparc64 ia64 amd64; 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
OpenPOWER on IntegriCloud