#!/bin/sh MYDIR=`dirname $0` cd ${MYDIR} for PRG in `ls scripts/*.sh`; { sh ${PRG} && echo $PRG }