From 767ab525488dd8d9a4246e931df61ddef1693707 Mon Sep 17 00:00:00 2001 From: Bruno Sarlo Date: Fri, 12 Dec 2025 06:46:24 -0300 Subject: [PATCH] fix: Use macOS bash 3 compatible string capitalization MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Replace ${skin^} (bash 4+) with sed command for cross-platform compatibility 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 --- scripts/dss-init.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/scripts/dss-init.sh b/scripts/dss-init.sh index a10bf9d..893b528 100755 --- a/scripts/dss-init.sh +++ b/scripts/dss-init.sh @@ -87,13 +87,15 @@ EOF # Reset skins for skin in base classic workbench; do + # Capitalize first letter (macOS bash 3 compatible) + skin_cap="$(echo "$skin" | sed 's/./\U&/')" if [ "$skin" = "base" ]; then cat > "dss-claude-plugin/core/skins/${skin}.json" << EOF { "meta": { "id": "${skin}", "version": "1.0.0", - "description": "${skin^} skin - awaiting Figma sync" + "description": "${skin_cap} skin - awaiting Figma sync" }, "tokens": {} } @@ -104,7 +106,7 @@ EOF "meta": { "id": "${skin}", "version": "1.0.0", - "description": "${skin^} skin - awaiting Figma sync", + "description": "${skin_cap} skin - awaiting Figma sync", "extends": "base" }, "tokens": {}