releases/tools/mkteampage.sh
Tony Breeds 3d515abe57 tools: Trivial fixup
tox -ebashate complains about the 'do' not being on the same line.

Fix that.

Change-Id: Ibd109509cdcd0b51546c3246c452630a82ed84f7
2016-06-16 16:12:18 +10:00

25 lines
378 B
Bash
Executable File

#!/bin/bash
PROJ=$1
SERIES=$(ls deliverables/*/*${PROJ}* | cut -f2 -d/ | sort -ru)
function line {
typeset c="$1"
sed -e "s/./$c/g"
}
echo =${PROJ}= | line =
echo " ${PROJ^}"
echo =${PROJ}= | line =
echo
for s in $SERIES ; do
echo ${s^}
echo $s | line =
echo
echo ".. deliverable::"
echo " :series: $s"
echo " :team: $PROJ"
echo
done