1 BASEDIR=${BASEDIR:-lustre/kernel_patches}
2 SERIESPATH=${SERIESPATH:-$BASEDIR/series}
3 PATCHESPATH=${PATCHESPATH:-$BASEDIR/patches}
4 for SERIES in `ls $SERIESPATH | egrep -v "CVS|~$|.orig"` ; do
6 for PATCH in `cat $SERIESPATH/$SERIES`; do
8 if [ ! `find $PATCHESPATH -name $PATCH` ]; then
9 echo "$SERIESPATH/$SERIES: patch $PATCH was not found !"