We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8e0e736 commit 61e3ad6Copy full SHA for 61e3ad6
dev-support/bin/create-release
@@ -249,7 +249,9 @@ function startgpgagent
249
eval $("${GPGAGENT}" --daemon \
250
--options "${LOGDIR}/gpgagent.conf" \
251
--log-file="${LOGDIR}/create-release-gpgagent.log")
252
- GPGAGENTPID=$(echo "${GPG_AGENT_INFO}" | cut -f 2 -d:)
+ GPGAGENTPID=$(pgrep "${GPGAGENT}")
253
+ GPG_AGENT_INFO="$HOME/.gnupg/S.gpg-agent:$GPGAGENTPID:1"
254
+ export GPG_AGENT_INFO
255
fi
256
257
if [[ -n "${GPG_AGENT_INFO}" ]]; then
0 commit comments