Merge pull request #492 from mailsvb/CA_BUNDLES_PATH

fix usage of CA_BUNDLES_PATH env for local ca_bundles
This commit is contained in:
Dirk Wetter 2016-10-09 10:22:22 +02:00 committed by GitHub
commit 51912944ec

View File

@ -3847,7 +3847,7 @@ determine_trust() {
if [[ -z $CA_BUNDLES_PATH ]]; then
ca_bundles="$TESTSSL_INSTALL_DIR/etc/*.pem"
else
ca_bundles="${CA_BUNDLES_PATH/*.pem}"
ca_bundles="$CA_BUNDLES_PATH/*.pem"
fi
for bundle_fname in $ca_bundles; do
certificate_file[i]=$(basename ${bundle_fname//.pem})