index : builder | |
Archlinux32 build system | gitolite user |
summaryrefslogtreecommitdiff |
author | Erich Eckner <git@eckner.net> | 2018-05-04 10:10:49 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2018-05-04 10:10:49 +0200 |
commit | d3b57f2ec2fdf952bee8470c2de22e954e9cae12 (patch) | |
tree | cb63c9149190a9620cc7d9a713e8bf368c99aa9f | |
parent | 09a043befe9c0e384e1ad69e17d20029437bd276 (diff) |
-rwxr-xr-x | bin/ii-answer | 10 |
diff --git a/bin/ii-answer b/bin/ii-answer index 00d4754..9b25abb 100755 --- a/bin/ii-answer +++ b/bin/ii-answer @@ -94,7 +94,15 @@ find "${irc_dir}" \ if grep "${regex}" "${out_file}" | \ grep -q "${sloppy_salutation}"; then sed -i "/${regex}/d" "${out_file}" - printf 'up? I'"'"'m up for %s, %s\n' "$(uptime -p | sed 's/^up //')" "$(uptime | sed 's/.*, //')" | \ + { + printf 'up? I'"'"'m up for %s, %s' \ + "$(uptime -p | sed 's/^up //')" \ + "$(uptime | sed 's/.*, //')" + if [ -s "${work_dir}/build-master-sanity" ]; then + printf ' ... and I'"'"'m insane :-D' + fi + printf '\n' + } | \ irc_say "${channel}" 'copy' fi # answer "Thanks!" |