From 5bb4ea20a57615439629cc83736e5cde14e10820 Mon Sep 17 00:00:00 2001 From: Muminul Islam Date: Thu, 26 Mar 2026 18:49:56 -0700 Subject: [PATCH] scripts: Fix volume argument splitting in dev_cli.sh Use IFS-based splitting instead of parameter expansion to correctly separate '#'-delimited volume paths in process_volumes_args(). The previous approach placed all volumes into a single array element, causing Docker to receive malformed --volume arguments. Signed-off-by: Muminul Islam --- scripts/dev_cli.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/dev_cli.sh b/scripts/dev_cli.sh index 0e190a007..0c0a2d5e4 100755 --- a/scripts/dev_cli.sh +++ b/scripts/dev_cli.sh @@ -165,7 +165,7 @@ process_volumes_args() { return fi exported_volumes="" - arr_vols=("${arg_vols//#/ }") + IFS='#' read -ra arr_vols <<<"$arg_vols" for var in "${arr_vols[@]}"; do dev=$(echo "$var" | cut -d ':' -f 1) if [[ ! -e "$dev" ]]; then