]> git.plutz.net Git - lobster/commitdiff
fix faulty include name, missing functions, hence missing information on cover sheet
authorpaul <paul@plutz.net>
Fri, 10 Jun 2016 12:48:04 +0000 (12:48 +0000)
committerpaul <paul@plutz.net>
Fri, 10 Jun 2016 12:48:04 +0000 (12:48 +0000)
svn path=/trunk/; revision=111

actions/generate_courselist.sh

index f6fdda7dadb473e3933e59ad2805dc8448779db6..b0897c4fdee3d6072fe2369d13ab69730d1c5202 100755 (executable)
@@ -1,6 +1,6 @@
 #!/bin/zsh
 
-# Copyright 2014 Paul Hänsch
+# Copyright 2014, 2016 Paul Hänsch
 #
 # This file is part of Confetti.
 # 
 
 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 '{&}\\'
 }