runcheck.sh revision 1ac35b084d7e57853f66169d2ca5532977fc403a
#!/bin/bash
[[ `uname -s` == 'SunOS' ]] && MAKE=gmake || MAKE=make
for i in *
do
if [ -d "$i" ]; then
echo "processing $i"
cd "$i"
if [ -f Makefile ]
then ${MAKE}
elif [ -x run.sh ]
then ./run.sh
else echo "nothing done in $i"
fi
cd ..
fi
done