#!/bin/sh setglobal PATH = '/bin:/sbin:/usr/bin:/usr/sbin:/usr/xbin' setglobal t = '/etc/binary_sizes' if test "$Argc" -ne 1 { echo "Usage: $0 " exit 1 } if test $1 != normal { setglobal t = "$t.$1" } chmem =250000 /usr/lib/em_* /usr/lib/cpp* /usr/lib/cv >/dev/null 2>&1 chmem =600000 /usr/lib/ego/* >/dev/null 2>&1 if test -f $t { cat $t | while read line { awk '{ print "chmem =" $2 " " $1 " 2>&1 | grep -v area.changed.from || exit 1"}' } | /bin/sh -e || exit 1 } else { echo "$0: $t does not exist" >&2 exit 1 } exit 0