Skip to content

Commit

Permalink
Revert back naming conventions for form ttl files
Browse files Browse the repository at this point in the history
  • Loading branch information
blcham committed May 3, 2024
1 parent 412ab0f commit 5c5b6c8
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion deploy/shared/db-server/bin/repo-init.sh
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ for DIR in ${DATA_DIR}/*/; do

echo "INFO: Updating data in repository $REPO_NAME ..."

find ${DATA_DIR}/${REPO_NAME} -name '*.form.ttl' | while read DATA_FILE; do
find ${DATA_DIR}/${REPO_NAME} -name '*-form.ttl' | while read DATA_FILE; do
CONTEXT=`$SCRIPT_DIR/get-rdf-subject-by-type.py $DATA_FILE 'http://onto.fel.cvut.cz/ontologies/form/form-template' | sed 's/[<>]//g'`

echo "INFO: Replacing context ${CONTEXT} with form template from file ${DATA_FILE}."
Expand Down

0 comments on commit 5c5b6c8

Please sign in to comment.