From: Paul Hänsch Date: Wed, 27 Jan 2021 12:18:03 +0000 (+0100) Subject: bugfix: use editing tempfile as basis for modifications, important when setting up... X-Git-Url: https://git.plutz.net/?a=commitdiff_plain;h=82d939ed348114054706b9aee2e87786ce24b153;p=lobster bugfix: use editing tempfile as basis for modifications, important when setting up new course --- 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)