From 6dbd9874f499e591eb44862a9c5933af6ce57882 Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Wed, 7 Dec 2011 13:58:28 -0500 Subject: [PATCH] Export GPG_AGENT_INFO in gpg-agent-spawn.sh. --- posts/gpg-agent/gpg-agent-spawn.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/posts/gpg-agent/gpg-agent-spawn.sh b/posts/gpg-agent/gpg-agent-spawn.sh index 432e69f..acaddba 100755 --- a/posts/gpg-agent/gpg-agent-spawn.sh +++ b/posts/gpg-agent/gpg-agent-spawn.sh @@ -5,5 +5,5 @@ FILE="${HOME}/.gnupg/agent-info" GPG_TTY=$(tty) #gpg-agent --daemon --enable-ssh-support --write-env-file "${FILE}" --pinentry-program "${HOME}/bin/pinentry" gpg-agent --daemon --write-env-file "${FILE}" --pinentry-program "${HOME}/bin/pinentry" -echo "GPG_TTY='${GPG_TTY}'; export GPG_TTY" >> "${FILE}" +echo "export GPG_AGENT_INFO; GPG_TTY='${GPG_TTY}'; export GPG_TTY" >> "${FILE}" source "${FILE}" -- 2.26.2