From 4630a8bffe88f0cb52d4b56dd417383f7e0f19da Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Thu, 19 Nov 2020 08:24:43 +0100 Subject: watch-calendars: `hostname` -> `uname -n` --- watch-calendars | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'watch-calendars') 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 -- cgit v1.2.3-70-g09d2