From 82d939ed348114054706b9aee2e87786ce24b153 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Paul=20H=C3=A4nsch?= Date: Wed, 27 Jan 2021 13:18:03 +0100 Subject: [PATCH] bugfix: use editing tempfile as basis for modifications, important when setting up new course --- courses/update_course.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/courses/update_course.sh b/courses/update_course.sh index ea03a72..4abdbe7 100755 --- a/courses/update_course.sh +++ b/courses/update_course.sh @@ -45,7 +45,7 @@ vcf_escape(){ | sed -E ':X;$!{N;bX}; s;\n;\;;g' } -ics="$(pdi_load "$coursefile")" +ics="$(pdi_load "$tempfile")" tzid=$(cat /etc/timezone) -- 2.39.2