#!/bin/sh
BADPLUGINS=""
for i in *;
do if [ -d $i -a $i != CVS ]; then
 cd $i
 ${MAKE:-make} $1
 if [ $? -ne 0 ];then
   BADPLUGINS="$BADPLUGINS $i"
 fi
 cd ..
fi
done

if test -n "$BADPLUGINS"; then
 echo "Warning : the following plugins could not be built : "
 echo $BADPLUGINS
 exit 0
fi
