Commit 76452c12 authored by ØyvindG's avatar ØyvindG Committed by Tarje.Lavik
Browse files

skript som kjøres fra hooks lagt til

parent dac23c1a
set -e
declare -r ONTOLOGY=../mmo.owl
declare -r ONTOLOGY_P35=../mmo_p35.owl
if [[ -z "${SAXON_HOME}" ]]; then
echo "Last ned Saxon og sett env SAXON_HOME. Bruk filnavn Saxon9HE.jar. Se"
#exit 1;
if [[ ${ONTOLOGY} -nt ${ONTOLOGY_P35} || ! -f ${ONTOLOGY_P35} ]]; then
java -jar $SAXON_HOME/Saxon9HE.jar -s:${ONTOLOGY} -xsl:owl2toOwl.xsl -o:${ONTOLOGY_P35}
echo "${ONTOLOGY_P35}" oppdatert fra ${ONTOLOGY}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment