#!/bin/bash ku=$(svn status -q --show-updates ../konstruktikon-data/constructicon.xml | wc -l) #if [ -z "$ku" ] ; then if [ "$ku" = 1 ] ; then # No update of constructicon : else # Constructicon has been updated echo Updating Constructicon Development Version svn up ../konstruktikon-data/ # Render an additional xml-lint report as a service to the user xmllint --noout ../konstruktikon-data/constructicon.xml >& html/constructicon_report.txt ./skript/konstruktikon/konstruktikon.py > html/constructicon.html ./skript/konstruktikon/konstruktikon.py simplified swedish > html/constructicon_simple_swe.html ./skript/konstruktikon/konstruktikon.py simplified english > html/constructicon_simple_eng.html svn propset svn:mime-type text/html html/*.html ./skript/validate_xml.bash html/constructicon.html ./skript/validate_xml.bash html/constructicon_simple_swe.html ./skript/validate_xml.bash html/constructicon_simple_eng.html svn commit -m "constructicon update from script" html/constructicon.html svn commit -m "constructicon update from script" html/constructicon_simple_swe.html svn commit -m "constructicon update from script" html/constructicon_simple_eng.html svn commit -m "constructicon update from script" html/constructicon_report.txt fi ;