From 912aa00158979c5900c5290c086250535e0495c4 Mon Sep 17 00:00:00 2001 From: Gergely Szabo Date: Thu, 1 Aug 2024 14:28:51 +0200 Subject: [PATCH] fix --- distribution/src/bin/opensearch-env | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/distribution/src/bin/opensearch-env b/distribution/src/bin/opensearch-env index cd7a0b2b4520b..70b6c322e3784 100644 --- a/distribution/src/bin/opensearch-env +++ b/distribution/src/bin/opensearch-env @@ -6,14 +6,14 @@ CDPATH="" SCRIPT="$0" -UNAME=$(uname -s) -if [ $UNAME = "FreeBSD" ]; then - OS="freebsd" -elif [ $UNAME = "Darwin" ]; then - OS="darwin" -else - OS="other" -fi +# UNAME=$(uname -s) +# if [ $UNAME = "FreeBSD" ]; then +# OS="freebsd" +# elif [ $UNAME = "Darwin" ]; then +# OS="darwin" +# else +OS="other" +# fi # SCRIPT might be an arbitrarily deep series of symbolic links; loop until we # have the concrete path @@ -132,7 +132,7 @@ if [[ "$OPENSEARCH_DISTRIBUTION_TYPE" == "docker" ]]; then # # will cause OpenSearch to be invoked with -Ecluster.name=testcluster # - # see https://opensearch.org/docs/opensearch/configuration/ + # see https://opensearch.org/docs/opensearch/configuration/ declare -a opensearch_arg_array