Skip to content

Commit

Permalink
Use the cert_path variable rather than a literal to execute pants
Browse files Browse the repository at this point in the history
FHIR-2646
  • Loading branch information
RadixSeven committed Jan 2, 2025
1 parent f1f8b6c commit 82a08d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pants
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 82a08d1

Please sign in to comment.