blob: 2c613c0902336cf39625b9bab1fd82668d2987fe (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
#!/bin/bash
#
# $Id: runall,v 1.14 2007/05/28 13:57:15 frank Exp $
#
# need to make proper test if i want to run single chapters
echo "=========removing problems files =========="
PREFIX=$1
echo "=========using prefix: $PREFIX =========="
doit () {
files=`ls ${PREFIX}*.$1 2>/dev/null`
if test -n "$files" ; then
for i in $files
do
./$2 $i
test $? -ne 0 && exit 1
done
else
echo "No files with extension $1 around"
fi
}
doit ltx runltx
exit
doit ltxb runltxb % beamer
doit ltx runltx
doit pltx runpltx
doit ptx runptx
doit pic runpic
doit ly runly
doit abc runabc
doit abcplus runabcpl
doit mp runmp
doit m4 runm4
doit pmx runpmx
doit mtx runmtx
|