Skip to content

Commit 3592cca

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

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

entrypoint.sh

Lines changed: 2 additions & 2 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-
ARRAY=(${PLUGINS_STR})
19-
for i in ${ARRAY}
18+
for i in "${PLUGINS_STR}"
2019
do
2120
PLUGIN_INSTALL_CMD+="elasticsearch-plugin install --batch ${i} &&"
2221
done
22+
echo ${PLUGIN_INSTALL_CMD}
2323
fi
2424

2525
# single node only

0 commit comments

Comments
 (0)