Skip to content

Commit

Permalink
for #176, bootstrap opensearch keystore
Browse files Browse the repository at this point in the history
  • Loading branch information
mmguero committed Apr 14, 2023
1 parent f4934f2 commit 8e13221
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion shared/bin/keystore-bootstrap.sh
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ find / -type f -name "*-keystore" -executable 2>/dev/null | while read KEYSTORE_
# keystore bin is like foobar-keystore, keystore file is foobar.keystore
KEYSTORE_NAME="${TOOL_NAME}.keystore"

[[ -v "KEYSTORE_FILE_MIN_BYTES["${TOOL_NAME}"]" ]] && MIN_BYTES=${KEYSTORE_FILE_MIN_BYTES["${TOOL_NAME}"]} || MIN_BYTES=${KEYSTORE_FILE_MIN_BYTES[none]}
[[ -z "${KEYSTORE_FILE_MIN_BYTES["${TOOL_NAME}"]+unset}" ]] && MIN_BYTES=${KEYSTORE_FILE_MIN_BYTES[none]} || MIN_BYTES=${KEYSTORE_FILE_MIN_BYTES["${TOOL_NAME}"]}

# chdir to tool directory
pushd "${TOOL_PATH}" >/dev/null 2>&1
Expand Down

0 comments on commit 8e13221

Please sign in to comment.