summaryrefslogtreecommitdiffstats
path: root/dev
diff options
context:
space:
mode:
authorPatrick McDermott <pehjota>2020-06-17 13:07:04 (EDT)
committer Patrick McDermott <pehjota>2020-06-17 13:07:04 (EDT)
commitbbd019a2917e54131fda045eaacd5f76473f3e9c (patch)
treec75453dd91866df6db50c46b0536e471ba8a0015 /dev
parente96b41ae2446b26ff455db4b3ed3137187d17d57 (diff)
dev/releases/1/packages: Fix script
The "bins" variable began with a newline character, which increased the count of binary packages by one.
Diffstat (limited to 'dev')
-rw-r--r--dev/releases/1/packages.mdwn7
1 files changed, 2 insertions, 5 deletions
diff --git a/dev/releases/1/packages.mdwn b/dev/releases/1/packages.mdwn
index 13b03d7..e1caf29 100644
--- a/dev/releases/1/packages.mdwn
+++ b/dev/releases/1/packages.mdwn
@@ -108,9 +108,6 @@ The above list was generated by running the following shell script:
verw=33
base_url='http://files.proteanos.com/pub/proteanos/feeds/dev/trunk'
- LF='
- '
-
# Print header
i=0
l=$(($pkgw + $verw + 2))
@@ -141,11 +138,11 @@ The above list was generated by running the following shell script:
# Collect binary package names
bins=''
for aps in $(wget -q -O - "${base_url}/Manifest" | grep -Fv 'src/all/base'); do
- bins="${bins}${LF}$(wget -q -O - "${base_url}/${aps}/Packages" | \
+ bins="${bins} $(wget -q -O - "${base_url}/${aps}/Packages" | \
sed -n 's/^Package: //p;')"
done
# Print totals
printf '%s\n' "${tblline}"
printf 'Source packages: %d\n' "${srcs}"
- printf 'Binary packages: %d\n' "$(printf '%s\n' "${bins}" | sort -u | wc -l)"
+ printf 'Binary packages: %d\n' "$(printf '%s\n' ${bins} | sort -u | wc -l)"