Skip to content

Commit

Permalink
Update publisher/product/ontology/build.sh
Browse files Browse the repository at this point in the history
Co-authored-by: Przemysław Grądzki <[email protected]>
  • Loading branch information
mereolog and przemekgradzki authored Feb 8, 2024
1 parent a4fdc5b commit 84d162a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion publisher/product/ontology/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ function runHygieneTests() {
logItem "${SPEC}" "$(getOntologyIRI < "${source_family_root}/${SPEC}")"
if ${ONTOVIEWER_TOOLKIT_JAVA} --data "${source_family_root}/${SPEC}" \
--output ${TMPDIR}/output.json $(test -s "${source_family_root}/catalog-v001.xml" && echo "--ontology-mapping ${source_family_root}/catalog-v001.xml") \
--goal consistency-check &>> "${hygiene_product_tag_root}/consistency-check.log" && jq -e "" &>/dev/null < "${TMPDIR}/output.json" ; then
--goal consistency-check &>> "${hygiene_product_tag_root}/consistency-check.log" && jq -e "." &>/dev/null < "${TMPDIR}/output.json" ; then
displayMissingImports "${TMPDIR}/output.json"
if [ "$(jq -r ".consistent" < "${TMPDIR}/output.json")" = "true" ] ; then
echo -e "\t\x1b\x5b\x33\x32\x6d$(echo "Ontology \"${SPEC}\" is consistent." | tee -a "${hygiene_product_tag_root}/consistency-check.log")\x1b\x5b\x30\x6d"
Expand Down

0 comments on commit 84d162a

Please sign in to comment.