pci: don't do sanity check for missing pci bus, the check can misfire.
[minix.git] / commands / scripts / binsizes.sh
blobdcc3faa5378d1f88c4078896b872285ecdde1de6
1 #!/bin/sh
3 PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/xbin
5 t=/etc/binary_sizes
7 if [ "$#" -ne 1 ]
8 then echo "Usage: $0 <big|normal|xxl>"
9 exit 1
12 if [ "$1" != normal ]
13 then t=$t.$1
16 chmem =250000 /usr/lib/em_* /usr/lib/cpp* /usr/lib/cv >/dev/null 2>&1
17 chmem =600000 /usr/lib/ego/* >/dev/null 2>&1
18 if [ -f $t ]
19 then cat "$t" | while read line
20 do awk '{ print "chmem =" $2 " " $1 " 2>&1 | grep -v area.changed.from || exit 1"}'
21 done | /bin/sh -e || exit 1
22 else
23 echo "$0: $t does not exist" >&2
24 exit 1
26 exit 0