Skip to content
This repository
Browse code

Merge pull request #59 from dolmen/fix/bashisms

build.sh: fix bash-isms
  • Loading branch information...
commit 94e8f996c016955fc1d37368105a39ef50c266e7 2 parents 6b33fde + c999251
Miguel Sousa miguelsousa authored

Showing 1 changed file with 3 additions and 5 deletions. Show diff stats Hide diff stats

  1. +3 5 build.sh
8 build.sh
... ... @@ -1,15 +1,13 @@
1 1 #!/bin/sh
2 2
3 3 family=SourceCodePro
4   -weights=('Black' 'Bold' 'ExtraLight' 'Light' 'Medium' 'Regular' 'Semibold')
  4 +weights='Black Bold ExtraLight Light Medium Regular Semibold'
5 5
6 6 # clean existing build artifacts
7 7 rm -rf target/
8   -mkdir target/
9   -mkdir target/OTF/
10   -mkdir target/TTF/
  8 +mkdir target/ target/OTF/ target/TTF/
11 9
12   -for w in ${weights[@]};
  10 +for w in $weights
13 11 do
14 12 makeotf -f Roman/$w/font.pfa -r -o target/OTF/$family-$w.otf
15 13 makeotf -f Roman/$w/font.ttf -gf GlyphOrderAndAliasDB_TT -r -o target/TTF/$family-$w.ttf

0 comments on commit 94e8f99

Please sign in to comment.
Something went wrong with that request. Please try again.