Whamcloud - gitweb
- make HEAD from b_post_cmd3
[fs/lustre-release.git] / lustre / kernel_patches / scripts / patchdesc
diff --git a/lustre/kernel_patches/scripts/patchdesc b/lustre/kernel_patches/scripts/patchdesc
new file mode 100755 (executable)
index 0000000..9a886fd
--- /dev/null
@@ -0,0 +1,21 @@
+#!/bin/sh
+
+. patchfns >/dev/null || . /usr/lib/patch-scripts/patchfns >/dev/null || { \
+       echo "Impossible to find my library 'patchfns'."
+       echo "Check your install, or go to the right directory"
+       exit 1
+}
+
+desc1()
+{
+       PATCH=$(stripit $1)
+       TXT=$P/txt/$PATCH.txt
+       echo $PATCH.patch
+       desc < $TXT
+       echo
+}
+
+for i in $*
+do
+       desc1 $i
+done