aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorEtienne Brodu <etn@etnbrd.com>2017-03-23 18:57:52 +0100
committerSean Whitton <spwhitton@spwhitton.name>2017-03-23 13:49:54 -0700
commit06205b2f4f9e52e84accc4ffed176f92bdb85612 (patch)
treeabff2e92fa368114d3655383c7b14e6fc59ce089
parentf6f813a72992ba256016232386d286fd2c0d9787 (diff)
downloadgit-remote-gcrypt-06205b2f4f9e52e84accc4ffed176f92bdb85612.tar.gz
fix bug when using several options in gpg-args
-rwxr-xr-xgit-remote-gcrypt4
1 files changed, 2 insertions, 2 deletions
diff --git a/git-remote-gcrypt b/git-remote-gcrypt
index 9d4efa6..3b35e1c 100755
--- a/git-remote-gcrypt
+++ b/git-remote-gcrypt
@@ -379,9 +379,9 @@ rungpg()
# due to trying to print messages to it, even if a gpg agent is set
# up. --no-tty fixes this.
if [ "x$GPG_AGENT_INFO" != "x" ]; then
- ${GPG} --no-tty "$@"
+ ${GPG} --no-tty $@
else
- ${GPG} "$@"
+ ${GPG} $@
fi
}