diff options
author | Joseph Graham <joseph@fibreglass.tunachunks> | 2013-08-29 12:52:41 +0100 |
---|---|---|
committer | Joseph Graham <joseph@fibreglass.tunachunks> | 2013-08-29 12:52:41 +0100 |
commit | 0bb630ef61b2a21536987213d0faed6fe820064e (patch) | |
tree | 487282d2fcd20898f3ce0b5a7297011f98d8317e | |
parent | 43c3993599bfecc765c46a5a6ab9696011177527 (diff) |
improvement
-rwxr-xr-x[-rw-r--r--] | labs_change_detector | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/labs_change_detector b/labs_change_detector index aff6e6d..1994cb0 100644..100755 --- a/labs_change_detector +++ b/labs_change_detector @@ -1,12 +1,13 @@ #! /bin/bash bot_ipc="/tmp/un-provoked-message-store" +maildir="~/Maildir/new" shopt -s extglob next_line_is_url=0 -inotifywait -m --format '%w%f' -e create ~/Maildir/new 2>/dev/null | +inotifywait -m --format '%w%f' -e create "${maildir}" 2>/dev/null | while read email do while read line |