From 2aaa505802d2a8d6fb89825084a9974ac5924cb3 Mon Sep 17 00:00:00 2001 From: Vincent Demeester Date: Fri, 30 Aug 2024 16:34:26 +0200 Subject: [PATCH] openshift-client: eval PARAMS_SCRIPT MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit If we do not eval, things like `cat << EOF | …` will fail. Signed-off-by: Vincent Demeester --- scripts/oc-client.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/oc-client.sh b/scripts/oc-client.sh index 9e2bbf5..873c743 100644 --- a/scripts/oc-client.sh +++ b/scripts/oc-client.sh @@ -13,5 +13,5 @@ source "$(dirname ${BASH_SOURCE[0]})/oc-common.sh" [[ -f ${WORKSPACES_KUBECONFIG_DIR_PATH}/kubeconfig ]] && \ export KUBECONFIG=${WORKSPACES_KUBECONFIG_DIR_PATH}/kubeconfig -${PARAMS_SCRIPT} +eval "${PARAMS_SCRIPT}"