summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2020-11-19 08:24:43 +0100
committerErich Eckner <git@eckner.net>2020-11-19 08:24:43 +0100
commit4630a8bffe88f0cb52d4b56dd417383f7e0f19da (patch)
tree604f8e42c6ac53aa604c49d32ff98d0b219824a9
parent72735fcea3aac239f314f61d95fe968f31f1f35c (diff)
downloadkhal-extras-4630a8bffe88f0cb52d4b56dd417383f7e0f19da.tar.xz
watch-calendars: `hostname` -> `uname -n`
-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