Commit f0993ddb authored by Adam D. Barratt's avatar Adam D. Barratt

puprep: warn about packages that have multiple removal bugs listed

Signed-off-by: 's avatarAdam D. Barratt <adam@adam-barratt.org.uk>
parent 366666ac
......@@ -81,6 +81,13 @@ do
: > ${FILE}
done
DUPLICATE_REMOVALS="$(cut -d" " -f2 ${BASEDIR}/${SUITE}_comments/REMOVALS | sort | uniq -d)"
if [ -n "${DUPLICATE_REMOVALS}" ]
then
echo "WARNING: the following packages have multiple removal bugs filed:" >&2
echo ${DUPLICATE_REMOVALS} >&2
fi
for item in $(perl -pe "s/^#([0-9]*): ([^ ]*) (?:\[(.*)\] )?.*/\1_\2_\3/" ${BASEDIR}/${SUITE}_comments/REMOVALS)
do
bug=$(echo $item | cut -d_ -f1)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment