From 82a08d13fb24d3823ce53583e56cb5eff0bda54f Mon Sep 17 00:00:00 2001 From: Eric Moyer Date: Thu, 2 Jan 2025 10:27:53 -0500 Subject: [PATCH] Use the cert_path variable rather than a literal to execute pants FHIR-2646 --- pants | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pants b/pants index 9c33c95..9835eb9 100755 --- a/pants +++ b/pants @@ -9,7 +9,7 @@ pants_path="$script_dir/bin/pants/pants" cert_path=/etc/pki/tls/certs/ca-bundle.crt if [ -e "$cert_path" ]; then - SSL_CERT_FILE=/etc/pki/tls/certs/ca-bundle.crt "$pants_path" "$@" + SSL_CERT_FILE="$cert_path" "$pants_path" "$@" else echo "Error: certificate bundle is not at $cert_path" >&2 echo "Attempting to run pants without it" >&2