summaryrefslogtreecommitdiff
path: root/bin/sanity-check
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2018-05-04 09:44:32 +0200
committerErich Eckner <git@eckner.net>2018-05-04 09:44:32 +0200
commit567e716c8696754f4b3323f962a616e9be12115d (patch)
tree876eb22b3914ec4735d4ccf834bbf3f47c312401 /bin/sanity-check
parent0bc88d347f7d5f3b4fc51e277c3e0489d34dfe04 (diff)
downloadbuilder-567e716c8696754f4b3323f962a616e9be12115d.tar.xz
lib/common-functions: irc_say: accept channel as parameter
Diffstat (limited to 'bin/sanity-check')
-rwxr-xr-xbin/sanity-check2
1 files changed, 2 insertions, 0 deletions
diff --git a/bin/sanity-check b/bin/sanity-check
index 96f028f..fdcc25a 100755
--- a/bin/sanity-check
+++ b/bin/sanity-check
@@ -19,6 +19,7 @@ usage() {
i_am_insane() {
if [ ! -s "${work_dir}/build-master-sanity" ]; then
+ # shellcheck disable=SC2119
printf '\001ACTION goes insane.\001\n' | \
irc_say
fi
@@ -461,6 +462,7 @@ done
if [ -f "${work_dir}/build-master-sanity" ]; then
rm "${work_dir}/build-master-sanity"
+ # shellcheck disable=SC2119
printf '\001ACTION resumes sanity.\001\n' | \
irc_say
fi