Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
uib-ub
Momayo
onto-momayo
Commits
76452c12
Commit
76452c12
authored
Feb 08, 2019
by
ØyvindG
Committed by
Tarje.Lavik
Feb 20, 2019
Browse files
skript som kjøres fra hooks lagt til
parent
dac23c1a
Changes
1
Hide whitespace changes
Inline
Side-by-side
scripts/owl2toProtege.sh
0 → 100644
View file @
76452c12
#!/bin/bash
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 https://mvnrepository.com/artifact/net.sf.saxon/Saxon-HE"
#exit 1;
fi
if
[[
${
ONTOLOGY
}
-nt
${
ONTOLOGY_P35
}
||
!
-f
${
ONTOLOGY_P35
}
]]
;
then
pwd
java
-jar
$SAXON_HOME
/Saxon9HE.jar
-s
:
${
ONTOLOGY
}
-xsl
:owl2toOwl.xsl
-o
:
${
ONTOLOGY_P35
}
echo
"
${
ONTOLOGY_P35
}
"
oppdatert fra
${
ONTOLOGY
}
fi
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment