masqmail-0.2
diff 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 |
line diff
1.1 --- a/misc/gen-dist Thu May 20 21:23:19 2010 +0200 1.2 +++ b/misc/gen-dist Thu May 20 21:49:24 2010 +0200 1.3 @@ -13,6 +13,11 @@ 1.4 exit 1 1.5 fi 1.6 1.7 +dir="${1%/*}" 1.8 +file="${1##*/}" 1.9 + 1.10 hg archive -t tgz "$1" 1.11 -md5sum "$1" > "$1.md5sum" 1.12 -gpg -ab "$1" 1.13 + 1.14 +cd "$dir" 1.15 +md5sum "$file" >"$file.md5sum" 1.16 +gpg -ab "$file"