Mercurial > masqmail
view devel/gen-dist @ 330:f899ca0835a8
Fixed local-part only address patterns in route conditions
The man page claimed behavior that wasn't implemented up to now.
Thanks to Juergen Daubert for the bug report.
author | markus schnalke <meillo@marmaro.de> |
---|---|
date | Wed, 13 Jul 2011 10:30:52 +0200 |
parents | 7b70bf4f1f42 |
children |
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 -X .hg\* "$1" cd "$dir" md5sum "$file" >"$file.md5sum" gpg -ab "$file"