Skip to content

Commit

Permalink
use curl instead of wget to download files (solves redirection errors)
Browse files Browse the repository at this point in the history
  • Loading branch information
EsGeh authored and EsGeh committed May 23, 2019
1 parent a1ffc24 commit 05524c5
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions scripts/init.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,11 @@ git clone https://github.com/TEIC/Stylesheets.git
cd ..

# download some schemata from TEI:
wget -P $BASE_DIR/schema/tei/rnc http://www.tei-c.org/Vault/P5/current/xml/tei/custom/schema/relaxng/tei_all.rnc
wget -P $BASE_DIR/schema/tei/rng http://www.tei-c.org/Vault/P5/current/xml/tei/custom/schema/relaxng/tei_all.rng
wget -P $BASE_DIR/schema/tei/odd http://www.tei-c.org/Vault/P5/current/xml/tei/odd/p5subset.xml
mkdir -p $BASE_DIR/schema/tei/rnc
mkdir -p $BASE_DIR/schema/tei/rng
mkdir -p $BASE_DIR/schema/tei/odd
curl -L http://www.tei-c.org/Vault/P5/current/xml/tei/custom/schema/relaxng/tei_all.rnc > $BASE_DIR/schema/tei/rnc/tei_all.rnc
curl -L http://www.tei-c.org/Vault/P5/current/xml/tei/custom/schema/relaxng/tei_all.rng > $BASE_DIR/schema/tei/rng/tei_all.rng
curl -L http://www.tei-c.org/Vault/P5/current/xml/tei/odd/p5subset.xml > $BASE_DIR/schema/tei/odd/p5subset.xml

$(realpath $BASE_DIR)/scripts/updateOutput.sh

0 comments on commit 05524c5

Please sign in to comment.