From: W. Trevor King Date: Wed, 7 Dec 2011 18:58:28 +0000 (-0500) Subject: Export GPG_AGENT_INFO in gpg-agent-spawn.sh. X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=6dbd9874f499e591eb44862a9c5933af6ce57882;p=mw2txt.git Export GPG_AGENT_INFO in gpg-agent-spawn.sh. --- 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}"