#!/bin/sh dirs="Ted appFrame appUtil bitmap ind docBuf tedPackage" for d in $dirs; do (cd $d && echo -n "./configure $* in:" && pwd && ./configure $*) if [ $? != 0 ]; then exit $? fi done