6 eval $
(gpg-agent
--daemon) &&
7 GPG_AGENT_PID
=$
(expr "$GPG_AGENT_INFO" : ".*:\([1-9][0-9]*\):[1-9][0-9]*$") &&
8 trap 'kill -0 2>/dev/null $GPG_AGENT_PID && kill $GPG_AGENT_PID' 0 1 2 3 15 &&
9 kill -0 "$GPG_AGENT_PID" &&
10 gpg
="gpg --use-agent --local-user 96AFE6CB!" ||
exit
12 formats
='htmldocs manpages'
15 with_sig
=: with_src
=echo
22 with_sig
=echo with_src
=:
27 $with_src "git-$version.tar.gz"
28 $with_sig "git-$version.tar.sig"
31 $with_src "git-$fmt-$version.tar.gz"
32 $with_sig "git-$fmt-$version.tar.sig"
37 ls -l "git-$1.sign" $
(products with-sig
"$1")
42 for tar in git-
[0-9]*.
tar.gz
44 version
=$
(expr "$tar" : 'git-\(.*\)\.tar.gz$')
46 if test -f "git-$version.tar.sig"
49 for file in $
(products with-sig
"$version")
57 if test "$can_skip" = yes
64 rm -f $
(products only-sig
$version)
70 doc
="git-$fmt-$version.tar.gz"
75 missing
="$missing $doc"
80 echo >&2 "Missing files: $missing"
81 failed
="$failed $version"
85 sha1sum $files |
$gpg --clearsign >git-
$version.sign ||
{
86 failed
="$failed $version"
92 gzip -dc <"$file" >"${file%.gz}" &&
93 $gpg -b "${file%.gz}" ||
{
94 failed
="$failed $version"
95 rm -f "${file%.gz}.sig"