diff options
author | Peter Palfrader <peter@palfrader.org> | 2002-07-10 13:21:23 +0000 |
---|---|---|
committer | Peter Palfrader <peter@palfrader.org> | 2002-07-10 13:21:23 +0000 |
commit | f9aa58b6db795acd78dc5500cbd24e5be1e926db (patch) | |
tree | 682fb558ecee8560c44d6e458173590e5cbf42f8 /tools | |
parent | 58d1ef1fa362066d02ff096e02d9833842cc43c8 (diff) |
Initial Import
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/create-distribution | 18 |
1 files changed, 18 insertions, 0 deletions
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 |