Skip to content

Commit

Permalink
openshift-client: eval PARAMS_SCRIPT
Browse files Browse the repository at this point in the history
If we do not eval, things like `cat << EOF | …` will fail.

Signed-off-by: Vincent Demeester <[email protected]>
  • Loading branch information
vdemeester authored and openshift-merge-bot[bot] committed Sep 3, 2024
1 parent 4106455 commit 2aaa505
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/oc-client.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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}"

0 comments on commit 2aaa505

Please sign in to comment.