From b82fc8cc50c67ae6042be3266fc58c685e28e04a Mon Sep 17 00:00:00 2001 From: DevelopmentCats Date: Wed, 8 Apr 2026 01:16:51 +0000 Subject: [PATCH] fix(claude-code): remove redundant ARG_BOUNDARY_CONFIG_PATH normalization from elif block Tilde and \$HOME expansion is already performed at script initialization (lines 29-30), matching the pattern used for ARG_CLAUDE_BINARY_PATH. The duplicate expansion inside the elif block was redundant and used a slightly different pattern (single-slash vs double-slash replace). Closes coder/registry#797 Generated with OpenClaw using Claude --- registry/coder/modules/claude-code/scripts/start.sh | 3 --- 1 file changed, 3 deletions(-) diff --git a/registry/coder/modules/claude-code/scripts/start.sh b/registry/coder/modules/claude-code/scripts/start.sh index 7950a56c..488d9a29 100644 --- a/registry/coder/modules/claude-code/scripts/start.sh +++ b/registry/coder/modules/claude-code/scripts/start.sh @@ -239,9 +239,6 @@ function start_agentapi() { exit 1 fi elif [ -n "$ARG_BOUNDARY_CONFIG_PATH" ]; then - # Expand leading tilde and literal $HOME so paths like ~/.config/... work correctly - ARG_BOUNDARY_CONFIG_PATH="${ARG_BOUNDARY_CONFIG_PATH/#\~/$HOME}" - ARG_BOUNDARY_CONFIG_PATH="${ARG_BOUNDARY_CONFIG_PATH/\$HOME/$HOME}" printf "Linking boundary config from %s to %s\n" "$ARG_BOUNDARY_CONFIG_PATH" "$BOUNDARY_CONFIG_FILE" if [ "$ARG_BOUNDARY_CONFIG_PATH" != "$BOUNDARY_CONFIG_FILE" ]; then mkdir -p "$BOUNDARY_CONFIG_DIR"