From b062bdfb33841794053e3657a69b557f4fee3f1e Mon Sep 17 00:00:00 2001 From: Eugene Ivantsov Date: Thu, 19 Apr 2018 15:57:24 +0300 Subject: [PATCH] Use -gt as comparison operator (#9497) --- deploy/openshift/ocp.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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