all repos — shwarp-tools @ 8dfb05d75b1bfcf5833dfc4fdb60e018e52da1ac

Tools and scripts

tool(autocommit): check for inotifywait package
shwarp
Sat, 15 Aug 2026 20:16:33 -0400
commit

8dfb05d75b1bfcf5833dfc4fdb60e018e52da1ac

parent

06f811d0f5653ef5a79b0c2e22b81099fafaf0da

1 files changed, 6 insertions(+), 0 deletions(-)

jump to
M tools/autocommit → tools/autocommit

@@ -6,6 +6,12 @@ echo "Usage: ./autocommit <DIR> <FILE> [COMMIT_MESSAGE]"

exit 1 fi +if ! [ -x "$(command -v inotifywait)" ] +then + echo "This script requires 'inotify-tools'" + exit 1 +fi + DIRECTORY="$1" FILE="$2" COMMIT_MESSAGE="auto: $FILE changed"