diff options
author | P. J. McDermott <pehjota> | 2014-08-08 00:15:30 (EDT) |
---|---|---|
committer | P. J. McDermott <pj@pehjota.net> | 2014-08-08 00:15:30 (EDT) |
commit | 844450f0078b594134b9cf296bf1334343224f30 (patch) | |
tree | ab551f2675ad1a2f634de71730d57dec239df096 /dev/releases/1 | |
parent | d6feadde570b40c444d248154687978f6de3f682 (diff) |
dev/releases/1/packages: Improve script
Diffstat (limited to 'dev/releases/1')
-rw-r--r-- | dev/releases/1/packages.mdwn | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/dev/releases/1/packages.mdwn b/dev/releases/1/packages.mdwn index 0feb055..55f1a69 100644 --- a/dev/releases/1/packages.mdwn +++ b/dev/releases/1/packages.mdwn @@ -98,4 +98,5 @@ directory containing all of the unpacked source packages: done printf '%s\n' "${banner}" printf 'Source packages: %d\n' "${n}" - printf 'Binary packages: %d\n' "$(ls -d */*.pkg/ | wc -l)" + printf 'Binary packages: %d\n' "$(ls -d */*.pkg/ | \ + sed 's|^.*/\(.*\)\.pkg/$|\1|' | sort -u | wc -l)" |