tools: Fix option parsing for gpg-zip.
* tools/gpg-zip.in: Correctly set GPG when --gpg is specified. Correctly set TAR when --tar is specified. Pass TAR_ARGS to tar. (cherry-picked by dkg from master branch's 84ebf15b06e435453b2f58775f97a3a1c61a7e55)
GnuPG-bug-id 1351
GnuPG-bug-id 1442
- Signed-off-by: Neal H. Walfield <neal@g10code.com>
- Co-authored-by: Michael Mönch <michael.moench@marktjagd.de>