Commit beb6b3a 1 parent b57d99d commit beb6b3a Copy full SHA for beb6b3a
File tree 1 file changed +7
-6
lines changed
1 file changed +7
-6
lines changed Original file line number Diff line number Diff line change 1
1
#! /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/
6
7
7
8
$EXTRACT --file $INVENTORY --base " http://mmoon.org/lang/heb/"
8
9
echo " Convert schema TTLs to JSON+RDF"
9
10
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
11
12
echo " Convert inventory TTLs to JSON+RDF"
12
13
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
You can’t perform that action at this time.
0 commit comments