Whamcloud - gitweb
Branch: HEAD
[fs/lustre-release.git] / build / confirmpatches.sh
diff --git a/build/confirmpatches.sh b/build/confirmpatches.sh
new file mode 100644 (file)
index 0000000..18016c6
--- /dev/null
@@ -0,0 +1,11 @@
+SERIESPATH=./series
+PATCHESPATH=./patches
+for SERIES in `ls $SERIESPATH | grep -v CVS` ; do
+       #echo $SERIES
+       for PATCH in `cat $SERIESPATH/$SERIES`; do
+               #echo $PATCH
+               if [ ! `find $PATCHESPATH -name $PATCH` ]; then
+                       echo "$SERIESPATH/$SERIES: patch $PATCH was not found !"
+               fi
+       done
+done