diff options
author | Erich Eckner <git@eckner.net> | 2018-02-15 14:11:18 +0100 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2018-02-15 14:11:18 +0100 |
commit | f82e8e45ebf97b9b30afe1e2742e2f540d652b39 (patch) | |
tree | 137f594c2511056cffb64b0fab4005be99bf2891 /bin | |
parent | ab3d96872cdac3b814592b55ca3a0cb159d626be (diff) | |
download | builder-f82e8e45ebf97b9b30afe1e2742e2f540d652b39.tar.xz |
bin/ii-connect: fix regex recognizing buildmaster commands in channel
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/ii-connect | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/ii-connect b/bin/ii-connect index cfe5043..867381e 100755 --- a/bin/ii-connect +++ b/bin/ii-connect @@ -51,10 +51,10 @@ if [ "$1" = 'watch' ]; then else prefix='' fi - regex='^\S\+ \S\+ <\S\+> '"${prefix}"'why[- ]don'"'"'\?t[- ]you \(build\|stabilize\|unstage\|keep\|stubbornly_keep\) ' + regex='^\(\S\+ \)\?\S\+ <\S\+> '"${prefix}"'why[- ]don'"'"'\?t[- ]you \(build\|stabilize\|unstage\|keep\|stubbornly_keep\) ' if grep -q "${regex}" "${out_file}"; then sed -n ' - s/'"${regex}"'/\1 / + s/'"${regex}"'/\2 / T p ' "${out_file}" | \ |