really halt and print message on validation errors

rpdelaney-depends-check
Jany Belluz 2014-01-20 14:55:37 +01:00
parent fc2ed3ebe0
commit f25bebad88
1 changed files with 1 additions and 1 deletions

View File

@ -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