Skip to content

Commit f49885a

Browse files
committed
fix: multiple plugin install
1 parent 3592cca commit f49885a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

entrypoint.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,11 @@ MAJOR_VERSION=`echo ${STACK_VERSION} | cut -c 1`
1515
PLUGIN_INSTALL_CMD=""
1616

1717
if [ "x${PLUGINS_STR}" != "x" ]; then
18-
for i in "${PLUGINS_STR}"
18+
ARRAY=(${PLUGINS_STR})
19+
for i in "${ARRAY[@]}"
1920
do
20-
PLUGIN_INSTALL_CMD+="elasticsearch-plugin install --batch ${i} &&"
21+
PLUGIN_INSTALL_CMD+="elasticsearch-plugin install --batch ${i} && "
2122
done
22-
echo ${PLUGIN_INSTALL_CMD}
2323
fi
2424

2525
# single node only

0 commit comments

Comments
 (0)