Commit 45f54b80 authored by Holger Levsen's avatar Holger Levsen
Browse files

reproducible Archlinux: shorten irc message if longer then 256 chars✂️

parent b61b2ee8
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -51,6 +51,10 @@ done
echo
if [ ! -z "$SUCCESS" ] ; then
	MESSAGE="Manually scheduled in $REPOSITORY:$SUCCESS"
	# shorten irc message if longer then 256 characters
	if [ ${#MESSAGE} -gt 256 ] ; then
		MESSAGE="${MESSAGE:0:256}✂…"
	fi
	echo "$MESSAGE"
	irc_message archlinux-reproducible "$MESSAGE"
fi