From dfb89b118d2d0ff0fe4441b90a82bd234a03326e Mon Sep 17 00:00:00 2001 From: f-galland Date: Wed, 20 Nov 2024 07:03:29 -0300 Subject: [PATCH] Fix conditional bracketing --- .../packages/src/common/scripts/install-demo-certificates.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/distribution/packages/src/common/scripts/install-demo-certificates.sh b/distribution/packages/src/common/scripts/install-demo-certificates.sh index 5ce5ca165f3be..c80a5a3d6c298 100644 --- a/distribution/packages/src/common/scripts/install-demo-certificates.sh +++ b/distribution/packages/src/common/scripts/install-demo-certificates.sh @@ -16,7 +16,7 @@ mkdir -p "$TMP_DIR" # If demo certificates are explicitly solicited # (ie. for dockerized cluster test environments) # then, use hardcoded certs. -if [ $USE_DEMO_CERTS == "true" ] +if [[$USE_DEMO_CERTS == "true" ]] then cat <<'ADMIN_KEY' > $TMP_DIR/admin-key.pem -----BEGIN PRIVATE KEY-----