Skip to content

Commit

Permalink
fix: consume whole array with [@] in shell script
Browse files Browse the repository at this point in the history
  • Loading branch information
aleneum committed Dec 17, 2024
1 parent c80c233 commit 8a5f48f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@ function hive_cli() {
-e UID=\$(id -u) \\
-e GID=\${DOCKER_SOCKET_GID} \\
-e HIVE_PORT=\${HIVE_PORT} \\
\${OPT_SEC_ID} \\
\${OPT_INPUT_DIR} \\
\${OPT_SEC_ID[@]} \\
\${OPT_INPUT_DIR[@]} \\
ghcr.io/caretech-owl/hive-cli
res_code=\$?
echo "Exited with code \${res_code}"
Expand Down

0 comments on commit 8a5f48f

Please sign in to comment.