Skip to content

Commit fbb7a03

Browse files
authored
fix: new line between ontology concats
1 parent fea4e44 commit fbb7a03

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

tools/bash/build/create-combined-turtle.sh

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,10 @@ COMBINED_FILE="$OUTPUT_DIR/ontology_combined_init.ttl"
2222
mkdir -p "$OUTPUT_DIR"
2323

2424
# Concatenate all TTL files in the directory
25-
cat "$ONTO_DIR"/*.ttl > "$COMBINED_FILE"
25+
for file in "$ONTO_DIR"/*.ttl; do
26+
cat "$file" >> "$COMBINED_FILE"
27+
echo "" >> "$COMBINED_FILE"
28+
done
2629

2730
# Define output formats
2831
FORMATS=("json-ld" "nt" "turtle")

0 commit comments

Comments
 (0)