Skip to content

Commit beb6b3a

Browse files
committed
fix script
1 parent b57d99d commit beb6b3a

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

provisioning/createRdfFiles.sh

+7-6
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,14 @@
11
#!/bin/sh
2-
EXTRACT = $PWD/../provisioning/extract.py
3-
INVENTORY = $PWD/../_data/heb_inventory.ttl
4-
SCHEMA_FOLDER = $PWD/schema/oh/
5-
INVENTORY_FOLDER = $PWD/inventory/oh/
2+
3+
EXTRACT=$PWD/../provisioning/extract.py
4+
INVENTORY=$PWD/../_data/heb_inventory.ttl
5+
SCHEMA_FOLDER=$PWD/schema/oh/
6+
INVENTORY_FOLDER=$PWD/inventory/oh/
67

78
$EXTRACT --file $INVENTORY --base "http://mmoon.org/lang/heb/"
89
echo "Convert schema TTLs to JSON+RDF"
910
cd $SCHEMA_FOLDER
10-
for res in *.ttl; rapper -i turtle -o json $res > ${res%.ttl}.json 2> /dev/null ; done
11+
for res in *.ttl; do rapper -i turtle -o json $res > ${res%.ttl}.json 2> /dev/null ; done
1112
echo "Convert inventory TTLs to JSON+RDF"
1213
cd $INVENTORY_FOLDER
13-
for res in *.ttl; rapper -i turtle -o json $res > ${res%.ttl}.json 2> /dev/null ; done
14+
for res in *.ttl; do rapper -i turtle -o json $res > ${res%.ttl}.json 2> /dev/null ; done

0 commit comments

Comments
 (0)