mirror of
https://github.com/belluzj/fantasque-sans.git
synced 2024-12-22 07:21:31 +01:00
really halt and print message on validation errors
This commit is contained in:
parent
fc2ed3ebe0
commit
f25bebad88
|
@ -32,6 +32,7 @@ font.encoding = "AdobeStandard";
|
|||
font.generate("TeX/f${texFamily}${texCut}8a.pfb",
|
||||
flags=("afm", "tfm", "pfm"));
|
||||
EOF
|
||||
error=$?
|
||||
|
||||
cat > Webfonts/${basename}-decl.css <<EOF
|
||||
@font-face {
|
||||
|
@ -45,7 +46,6 @@ cat > Webfonts/${basename}-decl.css <<EOF
|
|||
|
||||
EOF
|
||||
|
||||
error=$?
|
||||
if [ "x$error" != "x0" ]; then
|
||||
echo -e "\e[1;31mError in ${basename}.\e[0m"
|
||||
if [ "x$error" = "x42" ]; then
|
||||
|
|
Loading…
Reference in New Issue
Block a user