Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
szamuboy committed Aug 1, 2024
1 parent 2d43535 commit 912aa00
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions distribution/src/bin/opensearch-env
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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

Expand Down

0 comments on commit 912aa00

Please sign in to comment.