Whamcloud - gitweb
LU-3862 misc: delete obsolete scripts
[fs/lustre-release.git] / lustre / kernel_patches / scripts / tag-series
diff --git a/lustre/kernel_patches/scripts/tag-series b/lustre/kernel_patches/scripts/tag-series
deleted file mode 100755 (executable)
index 17f3dfe..0000000
+++ /dev/null
@@ -1,41 +0,0 @@
-#!/bin/sh
-
-# tag-series tagname series-file-name
-#
-# Does a `cvs tag tagname' of all the .pc, .txt and .patch files mentioned
-# in series-file-name.  Also tags series-file-name.
-#
-
-. 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
-}
-
-# tag_one tag patchname
-#
-tag_one()
-{
-       PN=$(stripit $2)
-       if [ -r $P/txt/$PN.txt ]
-       then
-               cvs tag $1 $P/pc/$PN.pc $P/patches/$PN.patch $P/txt/$PN.txt
-       else
-               cvs tag $1 $P/pc/$PN.pc $P/patches/$PN.patch
-       fi
-}
-
-if [ $# -ne 2 ]
-then
-       echo Usage: tag-series tagname series-file-name
-       exit 1
-fi
-
-TAG=$1
-SERIES=$2
-
-for p in $(cat $SERIES)
-do
-       tag_one $TAG $p
-done
-cvs tag $TAG $SERIES