From 844450f0078b594134b9cf296bf1334343224f30 Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Fri, 08 Aug 2014 00:15:30 -0400 Subject: dev/releases/1/packages: Improve script --- (limited to 'dev') 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)" -- cgit v0.9.1