From 138e47f99c8f103043f50f9c63212d89cc4962ab Mon Sep 17 00:00:00 2001 From: Gulliver Handley Date: Tue, 20 Jan 2026 18:18:22 +0000 Subject: [PATCH 1/2] fixes install --- scripts/project-install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/project-install.sh b/scripts/project-install.sh index 8688d4ad..39dd3dd8 100755 --- a/scripts/project-install.sh +++ b/scripts/project-install.sh @@ -447,7 +447,7 @@ main() { done chain_display="$chain_display"$'\n'"$indent ↳ inherits from: $profile_name" fi - ((chain_depth++)) + ((++chain_depth)) done <<< "$reversed_chain" echo "$chain_display" From effab4e70ca25bce9b40a004736f374b90efd334 Mon Sep 17 00:00:00 2001 From: Gulliver Handley Date: Tue, 20 Jan 2026 22:39:31 +0000 Subject: [PATCH 2/2] fixes commpands and standards adding --- scripts/project-install.sh | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/scripts/project-install.sh b/scripts/project-install.sh index 39dd3dd8..ccc71fd3 100755 --- a/scripts/project-install.sh +++ b/scripts/project-install.sh @@ -241,11 +241,11 @@ install_standards() { grep -v "^${relative_path}|" "$sources_file" > "${sources_file}.tmp" 2>/dev/null || true mv "${sources_file}.tmp" "$sources_file" echo "${relative_path}|${profile_name}" >> "$sources_file" - ((profile_file_count++)) + ((++profile_file_count)) done < <(find "$profile_standards" -name "*.md" -type f ! -path "*/.backups/*" -print0 2>/dev/null) if [[ "$profile_file_count" -gt 0 ]]; then - ((profiles_used++)) + ((++profiles_used)) fi done <<< "$INHERITANCE_CHAIN" @@ -335,11 +335,11 @@ create_index() { local desc=$(get_existing_description "root" "$filename") if [[ -z "$desc" ]]; then desc="Needs description - run /index-standards" - ((new_count++)) + ((++new_count)) fi echo " $filename:" >> "$temp_file" echo " description: $desc" >> "$temp_file" - ((entry_count++)) + ((++entry_count)) done <<< "$root_files" echo "" >> "$temp_file" fi @@ -357,11 +357,11 @@ create_index() { local desc=$(get_existing_description "$folder_name" "$filename") if [[ -z "$desc" ]]; then desc="Needs description - run /index-standards" - ((new_count++)) + ((++new_count)) fi echo " $filename:" >> "$temp_file" echo " description: $desc" >> "$temp_file" - ((entry_count++)) + ((++entry_count)) done <<< "$md_files" echo "" >> "$temp_file" fi @@ -399,7 +399,7 @@ install_commands() { for file in "$commands_source"/*.md; do if [[ -f "$file" ]]; then cp "$file" "$commands_dest/" - ((count++)) + ((++count)) fi done