Mercurial > masqmail
view misc/gen-dist @ 164:5b621742b2e7
removed the mserver feature
i.e. the functionality itself in the code
the `mserver' value of online_detect and `mserver_iface' config options
and the --enable-mserver configure option
All functionality, however, is still available through mservdetect
author | meillo@marmaro.de |
---|---|
date | Thu, 08 Jul 2010 22:01:33 +0200 |
parents | b212da6385a8 |
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"