Commit 9aa0fffe authored by Holger Levsen's avatar Holger Levsen

reproducible Archlinux: explain how many packages were scheduled

Signed-off-by: Holger Levsen's avatarHolger Levsen <holger@layer-acht.org>
parent 2b3738a1
......@@ -50,7 +50,13 @@ done
echo
if [ ! -z "$SUCCESS" ] ; then
MESSAGE="Manually scheduled in $REPOSITORY:$SUCCESS"
AMOUNT=$(echo $SUCCESS | sed 's# #\n#g' | wc -l)
if [ $AMOUNT -gt 3 ] ; then
MANY=" $AMOUNT packages"
else
MANY=""
fi
MESSAGE="Manually scheduled$MANY in $REPOSITORY:$SUCCESS"
# shorten irc message if longer then 256 characters
if [ ${#MESSAGE} -gt 256 ] ; then
MESSAGE="${MESSAGE:0:256}✂…"
......
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