summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2018-06-04 10:08:08 +0200
committerErich Eckner <git@eckner.net>2018-06-04 10:08:08 +0200
commit7b1488a0d223ba77248fafd124d46b7f708881fc (patch)
tree6166460e35606304abcc277c740f3be185c46318
parent30170575fb8d6b1527bcb76607ae2fb0c515f922 (diff)
downloadbuilder-7b1488a0d223ba77248fafd124d46b7f708881fc.tar.xz
bin/ii-connect: wath for new ims, too
-rwxr-xr-xbin/ii-connect5
1 files changed, 3 insertions, 2 deletions
diff --git a/bin/ii-connect b/bin/ii-connect
index 4b9ecec..50f61d4 100755
--- a/bin/ii-connect
+++ b/bin/ii-connect
@@ -43,10 +43,11 @@ if [ "$1" = 'watch' ]; then
# this avoids missing modifications during our last execution
if [ -z "${said}" ]; then
# shellcheck disable=SC2046
- inotifywait -e 'CLOSE_WRITE,CLOSE' $(
+ inotifywait -e 'CLOSE_WRITE,CLOSE' -e 'CREATE,ISDIR' $(
find "${irc_dir}" \
-type f \
- -name 'out'
+ -name 'out' -o \
+ -type d
)
fi
said=$(