Mercurial > masqmail-0.2
comparison misc/gen-dist @ 50:1761b3bde646
fixed wrong paths in the md5sum file (gen-dist)
author | meillo@marmaro.de |
---|---|
date | Thu, 20 May 2010 21:49:24 +0200 |
parents | 315b74beec1a |
children | e119cee8d493 |
comparison
equal
deleted
inserted
replaced
49:58e8dd8bc90d | 50:1761b3bde646 |
---|---|
11 if [ $# -ne 1 -o -e "$1" ] ; then | 11 if [ $# -ne 1 -o -e "$1" ] ; then |
12 echo "usage: gen-dist DESTINATION" 2>&1 | 12 echo "usage: gen-dist DESTINATION" 2>&1 |
13 exit 1 | 13 exit 1 |
14 fi | 14 fi |
15 | 15 |
16 dir="${1%/*}" | |
17 file="${1##*/}" | |
18 | |
16 hg archive -t tgz "$1" | 19 hg archive -t tgz "$1" |
17 md5sum "$1" > "$1.md5sum" | 20 |
18 gpg -ab "$1" | 21 cd "$dir" |
22 md5sum "$file" >"$file.md5sum" | |
23 gpg -ab "$file" |