Whamcloud - gitweb
Branch HEAD
[fs/lustre-release.git] / build / confirmpatches.sh
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
5         #echo $SERIES
6         for PATCH in `cat $SERIESPATH/$SERIES`; do
7                 #echo $PATCH
8                 if [ ! `find $PATCHESPATH -name $PATCH` ]; then
9                         echo "$SERIESPATH/$SERIES: patch $PATCH was not found !"
10                 fi
11         done
12 done