summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rwxr-xr-xbin/build-master-status1
-rwxr-xr-xbin/get-package-updates1
-rwxr-xr-xbin/ii-connect1
-rwxr-xr-xbin/return-assignment1
-rwxr-xr-xbin/sanity-check2
5 files changed, 6 insertions, 0 deletions
diff --git a/bin/build-master-status b/bin/build-master-status
index 7ab38d4..f46d668 100755
--- a/bin/build-master-status
+++ b/bin/build-master-status
@@ -111,6 +111,7 @@ rm -f "${tmp_dir}/todos"
if [ -s "${webserver_directory}/mysql-sanity.html" ] && \
[ ! -s "${work_dir}/build-master-sanity" ]; then
+ # shellcheck disable=SC2119
printf 'girls, my database is dirty again ...\n' | \
irc_say
echo 'build master is insane' > \
diff --git a/bin/get-package-updates b/bin/get-package-updates
index 73766c8..8239097 100755
--- a/bin/get-package-updates
+++ b/bin/get-package-updates
@@ -503,6 +503,7 @@ if [ "${deletion_list_count}" -gt 1000 ]; then
>&2 printf 'There are %s > 1000 packages on the deletion-list. This does not seem right.\n' \
"${deletion_list_count}"
if [ ! -s "${work_dir}/told-irc-about-too-many-deletion-list-packages" ]; then
+ # shellcheck disable=SC2119
{
printf '\001ACTION refuses to blacklist %s packages.\001\n' "${deletion_list_count}"
for repo_name in ${repo_names}; do
diff --git a/bin/ii-connect b/bin/ii-connect
index 5fc5f37..95960f0 100755
--- a/bin/ii-connect
+++ b/bin/ii-connect
@@ -63,6 +63,7 @@ if [ "$1" = 'watch' ]; then
/'"${welcome_user_regex}"'/ d
' "${irc_dir}/#archlinux32/out"
done_something=true
+ # shellcheck disable=SC2119
printf '%s\n' "${new_users}" | \
sed '
s/^/Hi /
diff --git a/bin/return-assignment b/bin/return-assignment
index bcdb717..b4fdf1c 100755
--- a/bin/return-assignment
+++ b/bin/return-assignment
@@ -193,6 +193,7 @@ if [ "$5" = 'ERROR' ]; then
fi
)
+ # shellcheck disable=SC2119
{
printf '%s is broken (says %s).' \
"$1" \
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