#!/bin/sh for dir in `find . -maxdepth 1 -type d | grep -v "\.$" | grep -v "\./\." | sed "s/^\.\///"`; do if ! [ -f $dir/Makefile ]; then mono --debug xcsv.exe all $dir mdtool-build; if [ $? != 0 ]; then exit 1; fi; fi; done;