1 BASEDIR=${BASEDIR:-lustre/kernel_patches}
2 SERIESPATH=${SERIESPATH:-$BASEDIR/series}
3 PATCHESPATH=${PATCHESPATH:-$BASEDIR/patches}
4 NOUSEPATH=${NOUSEPATH:-$BASEDIR/unused}
7 for PATCH in `ls $PATCHESPATH | grep -v CVS` ; do
9 if ! grep -rq $PATCH $SERIESPATH ; then
11 #mv $PATCHESPATH/$PATCH $NOUSEPATH