Skip to content

Commit

Permalink
Merge pull request #59 from dolmen/fix/bashisms
Browse files Browse the repository at this point in the history
build.sh: fix bash-isms
  • Loading branch information
miguelsousa committed Sep 7, 2013
2 parents 6b33fde + c999251 commit 94e8f99
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions build.sh
Original file line number Diff line number Diff line change
@@ -1,15 +1,13 @@
#!/bin/sh

family=SourceCodePro
weights=('Black' 'Bold' 'ExtraLight' 'Light' 'Medium' 'Regular' 'Semibold')
weights='Black Bold ExtraLight Light Medium Regular Semibold'

# clean existing build artifacts
rm -rf target/
mkdir target/
mkdir target/OTF/
mkdir target/TTF/
mkdir target/ target/OTF/ target/TTF/

for w in ${weights[@]};
for w in $weights
do
makeotf -f Roman/$w/font.pfa -r -o target/OTF/$family-$w.otf
makeotf -f Roman/$w/font.ttf -gf GlyphOrderAndAliasDB_TT -r -o target/TTF/$family-$w.ttf
Expand Down

0 comments on commit 94e8f99

Please sign in to comment.