Improve on_file_write command argument handling

This commit is contained in:
Talia 2022-05-15 11:20:04 +02:00
parent 7a8afd2603
commit 1f29cc8d00

View file

@ -1,5 +1,5 @@
#!/bin/sh
while inotifywait --recursive --event CLOSE_WRITE . > /dev/null 2>&1
do $@
do $SHELL -c "$@"
done