🐛 Fix issue with Light weights not building due to aggressive replace

Closes #15
This commit is contained in:
Kiliman
2019-07-25 11:51:37 -04:00
parent eb163921a9
commit 843fa09a7e
2 changed files with 11 additions and 11 deletions
+8 -8
View File
@@ -4,17 +4,17 @@ mkdir -p build
build_font() {
lig="$1"
otf=${lig/Lig/}
otf=${lig/Lig-/-}
if [ ! -e "./original/$otf.otf" ]
then
return
if [ ! -e "./original/$otf.otf" ]
then
return
fi
if [ ! -e "./ligature/$lig/charstrings.xml" ]
then
return
if [ ! -e "./ligature/$lig/charstrings.xml" ]
then
return
fi
echo Building $1
ttx -f "./original/$otf.otf"
node index.js $otf