提交 60c0f846 编写于 作者: J Junio C Hamano

git-verify-tag: make sure we remove temporary file.

Signed-off-by: NJunio C Hamano <junkio@cox.net>
上级 0bc72abd
......@@ -34,7 +34,10 @@ t)
;;
esac
trap 'rm -f "$GIT_DIR/.tmp-vtag"' 0
git-cat-file tag "$1" >"$GIT_DIR/.tmp-vtag" || exit 1
cat "$GIT_DIR/.tmp-vtag" |
sed '/-----BEGIN PGP/Q' |
gpg --verify "$GIT_DIR/.tmp-vtag" - || exit 1
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册