really halt and print message on validation errors
parent
fc2ed3ebe0
commit
f25bebad88
|
@ -32,6 +32,7 @@ font.encoding = "AdobeStandard";
|
||||||
font.generate("TeX/f${texFamily}${texCut}8a.pfb",
|
font.generate("TeX/f${texFamily}${texCut}8a.pfb",
|
||||||
flags=("afm", "tfm", "pfm"));
|
flags=("afm", "tfm", "pfm"));
|
||||||
EOF
|
EOF
|
||||||
|
error=$?
|
||||||
|
|
||||||
cat > Webfonts/${basename}-decl.css <<EOF
|
cat > Webfonts/${basename}-decl.css <<EOF
|
||||||
@font-face {
|
@font-face {
|
||||||
|
@ -45,7 +46,6 @@ cat > Webfonts/${basename}-decl.css <<EOF
|
||||||
|
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
error=$?
|
|
||||||
if [ "x$error" != "x0" ]; then
|
if [ "x$error" != "x0" ]; then
|
||||||
echo -e "\e[1;31mError in ${basename}.\e[0m"
|
echo -e "\e[1;31mError in ${basename}.\e[0m"
|
||||||
if [ "x$error" = "x42" ]; then
|
if [ "x$error" = "x42" ]; then
|
||||||
|
|
Loading…
Reference in New Issue