Marcus Rohrmoser 8 months ago
parent
commit
b2087adfce
2 changed files with 76 additions and 69 deletions
  1. 75 68
      Fahrplan/schedule2.xml
  2. 1 1
      pull.sh

File diff suppressed because it is too large
+ 75 - 68
Fahrplan/schedule2.xml


+ 1 - 1
pull.sh

@@ -18,7 +18,7 @@ dst="${dir}.version"
   curl --output "${dir}/schedule.xml" --location "https://fahrplan.events.ccc.de/congress/${year}/${dir}/schedule.xml"
   {
     echo '<?xml-stylesheet type="text/xsl" href="../assets/schedule2html.xslt"?>'
-    grep -vf "<?xml version=" "${dir}/schedule.xml"
+    grep -vF "<?xml version=" "${dir}/schedule.xml"
   } | xmllint --output "${dir}"/schedule2.xml --relaxng assets/schedule.rng --format --encode utf-8 -
   sed -i -e "s|<url>https://fahrplan.events.ccc.de/congress/${year}/Fahrplan/events/|<url>./events/|g" "${dir}"/schedule2.xml
 }