summaryrefslogtreecommitdiff
path: root/watch-calendars
diff options
context:
space:
mode:
Diffstat (limited to 'watch-calendars')
-rwxr-xr-xwatch-calendars2
1 files changed, 1 insertions, 1 deletions
diff --git a/watch-calendars b/watch-calendars
index 5b91a01..cf9eb21 100755
--- a/watch-calendars
+++ b/watch-calendars
@@ -12,7 +12,7 @@ fi
while [ -d "$1" ]; do
inotifywait -r "$1" -e CREATE,MOVED_TO,DELETE -t 30
git -C "$1" add -A
- git -C "$1" commit -m'update by '"$(whoami)"'@'"$(hostname)"' on '"$(date)"
+ git -C "$1" commit -m'update by '"$(whoami)"'@'"$(uname -n)"' on '"$(date)"
git -C "$1" pull --rebase
git -C "$1" push
done