Commit 37baad57 authored by Vitaly Lipatov's avatar Vitaly Lipatov

rpmbs: disable GPG_AGENT_INFO if gpg-agent is not reached

parent 116a1e67
......@@ -85,6 +85,11 @@ check_gear_and_tag()
{
local GEARCTAG=gear-create-tag
# FIXME: hack against remote session
if [ -n "$GPG_AGENT_INFO" ] ; then
gpg-agent || unset GPG_AGENT_INFO
fi
# set SPECDIR from LISTNAMES if empty
[ -n "$SPECDIR" ] || set_specdir $LISTNAMES
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment