scripts: cope with empty ADDITIONAL_ARGS on macOS
@@ -97,10 +97,10 @@ fi
# Run the application client.
if [ $# -eq 0 ]; then
- "./bazel-client-bin/examples/${EXAMPLE}/client/client" "${TLS_ARGS[@]}" "${ADDITIONAL_ARGS[@]}"
+ "./bazel-client-bin/examples/${EXAMPLE}/client/client" "${TLS_ARGS[@]}" "${ADDITIONAL_ARGS[@]-}"
else
readonly CLIENT_ARGS=("${@}") # Choose client args provided after '--'.
- "./bazel-client-bin/examples/${EXAMPLE}/client/client" "${TLS_ARGS[@]}" "${ADDITIONAL_ARGS[@]}" "${CLIENT_ARGS[@]-}"
+ "./bazel-client-bin/examples/${EXAMPLE}/client/client" "${TLS_ARGS[@]}" "${ADDITIONAL_ARGS[@]-}" "${CLIENT_ARGS[@]-}"
fi
kill_bg_pids
