From f94fa644ddee573d246f656e49e8f232273f3bc0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Andr=C3=A9?= Date: Fri, 20 Sep 2024 19:39:43 +0200 Subject: [PATCH] Fix syntax for RDMA_CNI_IMAGE var substitution The bash syntax was incorrect and yielded: hack/env.sh: line 35: ${$RDMA_CNI_IMAGE:-}: bad substitution --- hack/env.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hack/env.sh b/hack/env.sh index 28e0007e7..c49c399d8 100755 --- a/hack/env.sh +++ b/hack/env.sh @@ -16,7 +16,7 @@ else # ensure that OVS_CNI_IMAGE is set, empty string is a valid value OVS_CNI_IMAGE=${OVS_CNI_IMAGE:-} # ensure that RDMA_CNI_IMAGE is set, empty string is a valid value - RDMA_CNI_IMAGE=${$RDMA_CNI_IMAGE:-} + RDMA_CNI_IMAGE=${RDMA_CNI_IMAGE:-} METRICS_EXPORTER_KUBE_RBAC_PROXY_IMAGE=${METRICS_EXPORTER_KUBE_RBAC_PROXY_IMAGE:-} [ -z $SRIOV_CNI_IMAGE ] && echo "SRIOV_CNI_IMAGE is empty but SKIP_VAR_SET is set" && exit 1 [ -z $SRIOV_INFINIBAND_CNI_IMAGE ] && echo "SRIOV_INFINIBAND_CNI_IMAGE is empty but SKIP_VAR_SET is set" && exit 1