diff options
Diffstat (limited to 'tools/encap-util-count.sh')
-rwxr-xr-x | tools/encap-util-count.sh | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/tools/encap-util-count.sh b/tools/encap-util-count.sh new file mode 100755 index 000000000..848a8d648 --- /dev/null +++ b/tools/encap-util-count.sh @@ -0,0 +1,15 @@ +#!/bin/sh +# $Id$ + +# This shows a count of encap packages per directory +# Can be useful to make sure you have everything +# built for all platforms. It assumes the directory +# has a *.run file in it (from the bcfg2 encap build) + +for RUN in $(find . -type f | grep run$); do + DIR="$(dirname $RUN)" + printf "${DIR}: " + (cd $DIR && ls | wc -l) +done + +exit 0 |