From: paul Date: Fri, 10 Jun 2016 12:48:04 +0000 (+0000) Subject: fix faulty include name, missing functions, hence missing information on cover sheet X-Git-Url: https://git.plutz.net/?p=confetti;a=commitdiff_plain;h=61858c053a58a79a22862d60dea16dc0d79dfad2 fix faulty include name, missing functions, hence missing information on cover sheet svn path=/trunk/; revision=111 --- diff --git a/actions/generate_courselist.sh b/actions/generate_courselist.sh index f6fdda7..b0897c4 100755 --- a/actions/generate_courselist.sh +++ b/actions/generate_courselist.sh @@ -1,6 +1,6 @@ #!/bin/zsh -# Copyright 2014 Paul Hänsch +# Copyright 2014, 2016 Paul Hänsch # # This file is part of Confetti. # @@ -19,15 +19,15 @@ pdflatex="$(where pdflatex |head -n1 || echo false)" course="${_GET[course]}" -fromdate=$_GET['fromdate'] +fromdate=$_GET[fromdate] fromdate=$(date -d "$fromdate" +%s) [ -z "$fromdate" ] && fromdate=$(date +%s) -. ${_EXEC}/pages/courses.sh loadfunctions -. ${_EXEC}/pages/card.sh loadfunctions +. ${_EXEC}/pages/courses.sh +. ${_EXEC}/pages/cards.sh tex_clean() { #in dire need for improvement - echo "$*" |tr -d '{&}\' + echo "$*" |tr -d '{&}\\' }