From 380cd98cdf14598b46dd4b58304bc0afc3e94160 Mon Sep 17 00:00:00 2001 From: Angel Borroy Date: Mon, 7 Jun 2021 16:41:19 +0200 Subject: [PATCH] MNT-22377 Fix cross locale enabling condition in Dockerfile for Search Services (Python generator) --- e2e-test/python-generator/templates/search/Dockerfile.template | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/e2e-test/python-generator/templates/search/Dockerfile.template b/e2e-test/python-generator/templates/search/Dockerfile.template index 2a672ae4f..8b0a66890 100644 --- a/e2e-test/python-generator/templates/search/Dockerfile.template +++ b/e2e-test/python-generator/templates/search/Dockerfile.template @@ -30,7 +30,7 @@ RUN if [ "${SEARCH_LOG_LEVEL}" != "" ] ; then \ fi # Enable cross locale configuration if requested. -RUN if [ "${ENABLE_CROSS_LOCALE}" != "" ] ; then \ +RUN if [[ "${ENABLE_CROSS_LOCALE}" == "True" ]] ; then \ sed -i '/^bash.*/i sed -i "'"/alfresco.cross.locale.datatype/s/^#//g"'" $${DIST_DIR}/solrhome/conf/shared.properties\n' \ $${DIST_DIR}/solr/bin/search_config_setup.sh; \ fi