diff --git a/deploy/openshift/ocp.sh b/deploy/openshift/ocp.sh index 6b14d0765e..4fd68f86aa 100755 --- a/deploy/openshift/ocp.sh +++ b/deploy/openshift/ocp.sh @@ -261,7 +261,7 @@ deploy_che_to_ocp() { wait_for_keycloak fi CHE_VAR_ARRAY=$(env | grep "^CHE_.") - if [ ${#CHE_VAR_ARRAY[@]} > 0 ]; then + if [ ${#CHE_VAR_ARRAY[@]} -gt 0 ]; then ENV="-e ${CHE_VAR_ARRAY}" fi