Mercurial > masqmail-0.2
view misc/gen-dist @ 102:f4719cffc48c
removed the ACC_NO_RECVD_HDR because it is never set
I do not see a reason why we should need it
author | meillo@marmaro.de |
---|---|
date | Wed, 23 Jun 2010 13:54:28 +0200 |
parents | e119cee8d493 |
children | b212da6385a8 |
line wrap: on
line source
#!/bin/sh # # generate a tar.gz archive to distribute # generate an md5sum and a detached signature of the archive # # requires: # - mercurial (hg) # - md5sum # - gnupg if [ $# -ne 1 -o -e "$1" ] ; then echo "usage: gen-dist DEST.tar.gz" 2>&1 exit 1 fi dir="${1%/*}" file="${1##*/}" hg archive -t tgz "$1" cd "$dir" md5sum "$file" >"$file.md5sum" gpg -ab "$file"