]> Nutra Git (v2) - gamesguru/git-remote-gcrypt.git/commitdiff
fix bug when using several options in gpg-args
authorEtienne Brodu <etn@etnbrd.com>
Thu, 23 Mar 2017 17:57:52 +0000 (18:57 +0100)
committerSean Whitton <spwhitton@spwhitton.name>
Thu, 23 Mar 2017 20:49:54 +0000 (13:49 -0700)
git-remote-gcrypt

index 9d4efa6c8017d21ac379fdb4cfb85dc30005e1ec..3b35e1c86aae811c1f01f05f7ab29d854f54c84a 100755 (executable)
@@ -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
 }