From f9aa58b6db795acd78dc5500cbd24e5be1e926db Mon Sep 17 00:00:00 2001 From: Peter Palfrader Date: Wed, 10 Jul 2002 13:21:23 +0000 Subject: Initial Import --- tools/create-distribution | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100755 tools/create-distribution (limited to 'tools') diff --git a/tools/create-distribution b/tools/create-distribution new file mode 100755 index 0000000..6a6e062 --- /dev/null +++ b/tools/create-distribution @@ -0,0 +1,18 @@ +#!/bin/sh + +set -e + +find -name .cvsignore -print0 | xargs -0 rm +pod2man pingd > pingd.1 +version=`grep 'VERSION =' pingd | sed -e "s/.* '//" -e "s/'.*//"` +dirname=`basename \`pwd\`` + +if [ "$dirname" != "echolot-$version" ] ; then + echo "WARN: Version $version might be wrong" + echo "Enter to continue" + read +fi + +cd .. +tar czf $dirname.tar.gz $dirname +gpg --detach-sign $dirname.tar.gz -- cgit v1.2.3