From 1464f5a1e352fa5ad61df75a865cd96e2d443cb1 Mon Sep 17 00:00:00 2001 From: Jonathan Wyss Date: Tue, 8 Oct 2024 16:39:33 +0200 Subject: [PATCH] remove spaces remove potential leak remove wrong cmd echo --- caldav-workaround.sh | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/caldav-workaround.sh b/caldav-workaround.sh index 7f9109e..23f2277 100644 --- a/caldav-workaround.sh +++ b/caldav-workaround.sh @@ -1,18 +1,14 @@ CALDIR=$HOME/.calendars file=$CALDIR/$1 set +o history - - -echo "calendar/file.ics PW\n" +echo "calendar/file.ics\n" echo $file echo "insert PW for caldav:" read -s pw -echo $pw curl --verbose --user j.wyss@kolabnow.ch:$pw -X PUT \ "https://apps.kolabnow.com/calendars/j.wyss@kolabnow.ch/$1"\ -H "Content-Type:text/calendar" \ -T $file echo "https://apps.kolabnow.com/calendars/j.wyss@kolabnow.ch/$1" - set -o history