3d515abe57
tox -ebashate complains about the 'do' not being on the same line. Fix that. Change-Id: Ibd109509cdcd0b51546c3246c452630a82ed84f7
25 lines
378 B
Bash
Executable File
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
|