summaryrefslogtreecommitdiff
path: root/send-pack.h
diff options
context:
space:
mode:
authorLibravatar Todd Zullinger <tmz@pobox.com>2019-02-07 22:17:45 -0500
committerLibravatar Junio C Hamano <gitster@pobox.com>2019-02-08 10:01:39 -0800
commitddf3a1152d32cc950389c9cb9e7b7962e7e14f16 (patch)
treead0fb6bb42b6b71b7b66f057bd2c8531fc0b269a /send-pack.h
parentGit 2.19.2 (diff)
downloadtgif-ddf3a1152d32cc950389c9cb9e7b7962e7e14f16.tar.xz
t/lib-gpg: quote path to ${GNUPGHOME}/trustlist.txt
When gpgsm is installed, lib-gpg.sh attempts to update trustlist.txt to relax the checking of some root certificate requirements. The path to "${GNUPGHOME}" contains spaces which cause an "ambiguous redirect" warning when bash is used to run the tests: $ bash t7030-verify-tag.sh /git/t/lib-gpg.sh: line 66: ${GNUPGHOME}/trustlist.txt: ambiguous redirect ok 1 - create signed tags ok 2 # skip create signed tags x509 (missing GPGSM) ... No warning is issued when using bash called as /bin/sh, dash, or mksh. Quote the path to ensure the redirect works as intended and sets the GPGSM prereq. While we're here, drop the space after ">>". Signed-off-by: Todd Zullinger <tmz@pobox.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'send-pack.h')
0 files changed, 0 insertions, 0 deletions