Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge pull request #59 from dolmen/fix/bashisms

build.sh: fix bash-isms
  • Loading branch information...
commit 94e8f996c016955fc1d37368105a39ef50c266e7 2 parents 6b33fde + c999251
@miguelsousa miguelsousa authored
Showing with 3 additions and 5 deletions.
  1. +3 −5 build.sh
View
8 build.sh
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.