summaryrefslogtreecommitdiff
path: root/packaging/utils/recan
diff options
context:
space:
mode:
Diffstat (limited to 'packaging/utils/recan')
-rwxr-xr-xpackaging/utils/recan17
1 files changed, 17 insertions, 0 deletions
diff --git a/packaging/utils/recan b/packaging/utils/recan
new file mode 100755
index 000000000..eaaf9436a
--- /dev/null
+++ b/packaging/utils/recan
@@ -0,0 +1,17 @@
+#! /bin/sh
+# recan release
+# run in a working directory to recan contents of same where necessary
+
+PATH=/bin:/usr/bin ; export PATH
+umask 022
+
+. ~freeswan/setup
+
+case $# in
+0) echo "Usage: $0 release [file] ..." >&2 ; exit 2 ;;
+esac
+
+tag="R`echo $1 | tr '.' '_'`"
+shift
+
+cvs tag -F -D now $tag $*