mirror of
https://github.com/daylinmorgan/monolisa-nerdfont-patch.git
synced 2024-12-22 06:50:44 -06:00
consistent shell formatting
This commit is contained in:
parent
779405667c
commit
312b059e67
2 changed files with 9 additions and 12 deletions
|
@ -1,12 +1,11 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
|
||||
exts=(otf ttf woff woff2)
|
||||
ext=$1
|
||||
shift
|
||||
fp_args=$@
|
||||
|
||||
if [[ -z "$ext" ]];then
|
||||
if [[ -z $ext ]]; then
|
||||
echo "please provide an extension"
|
||||
exit 1
|
||||
fi
|
||||
|
@ -21,10 +20,8 @@ fi
|
|||
echo "Patching all fonts with ext -> $ext"
|
||||
echo "Using the following arguments for font-patcher $fp_args"
|
||||
|
||||
|
||||
for fontfile in MonoLisa/$ext/*.$ext; do
|
||||
|
||||
fontforge -script font-patcher $fontfile -o patched/$ext $fp_args
|
||||
|
||||
done
|
||||
|
||||
|
|
Loading…
Reference in a new issue