added dependency check for fontforge: quit with error if it is not found on the system

rpdelaney-depends-check
Ryan Delaney 2014-06-14 20:10:29 -07:00
parent b376c57292
commit c673e599bd
1 changed files with 2 additions and 0 deletions

View File

@ -2,6 +2,8 @@
# Generate font files with FontForge, and a CSS declaration for this font.
if ! type fontforge &> /dev/null; then echo "ERROR: Missing dependency: fontforge" 1>&2; exit 1; fi
basename=$1
ttf="${basename}.ttf"
otf="OTF/${basename}.otf"