| 1 | #!/bin/bash |
| 2 | # +AMDG |
| 3 | |
| 4 | for file in `ls drm*[0-9]*.mf`; do |
| 5 | echo "Compiling $file..."; |
| 6 | mf -halt-on-error "\mode=localfont; input $file" &> /dev/null; |
| 7 | if [[ $? == 0 ]]; then |
| 8 | echo "$file successfully compiled!"; |
| 9 | else |
| 10 | echo "FAIL: $file failed to compile!" |
| 11 | exit 1; |
| 12 | fi |
| 13 | done |
| 14 | echo "Massive winnage!" |