index : builder | |
Archlinux32 build system | gitolite user |
summaryrefslogtreecommitdiff |
author | Erich Eckner <git@eckner.net> | 2018-01-17 11:57:24 +0100 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2018-01-17 11:57:24 +0100 |
commit | 1dd67740ecb133216e31d7a82895d44c0cd52993 (patch) | |
tree | 93fcf0da9353725e5c6132d5d170d7ab0f4d8795 /bin/ii-connect | |
parent | 03c192ba6be8e441690b7e5a138f171768c25980 (diff) |
-rwxr-xr-x | bin/ii-connect | 6 |
diff --git a/bin/ii-connect b/bin/ii-connect index a8c4cc9..bb86b8b 100755 --- a/bin/ii-connect +++ b/bin/ii-connect @@ -31,8 +31,8 @@ if ! grep ' buildmaster\.archlinux32\.org .* buildmaster$' "${irc_dir}/out" | \ fi # start watch daemon if not running yet -if ! pgrep -xf 'SCREEN -d -m ii-connect watch' > /dev/null; then - screen -d -m ii-connect watch +if ! pgrep -xf 'SCREEN -S ii-connect\.watch -d -m .*/ii-connect watch' > /dev/null; then + screen -S ii-connect.watch -d -m "${base_dir}/bin/ii-connect" watch fi # watch if asked to @@ -61,7 +61,7 @@ if [ "$1" = 'watch' ]; then while read -r line; do reason=$( echo "${line}" | \ - xargs why-dont-you 2>&1 + xargs "${base_dir}/bin/why-dont-you" 2>&1 ) if [ "$(echo "${reason}" | wc -l)" -le 5 ]; then echo "${reason}" |