From 87bd544b4539fc17c7919a2185663fb9debae2d1 Mon Sep 17 00:00:00 2001 From: DanConwayDev Date: Mon, 26 Jan 2026 13:55:43 +0000 Subject: fix classification script --- docs/how-to/migration-scripts/40-classify-actions.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'docs/how-to/migration-scripts') diff --git a/docs/how-to/migration-scripts/40-classify-actions.sh b/docs/how-to/migration-scripts/40-classify-actions.sh index 81559aa..b1348f8 100755 --- a/docs/how-to/migration-scripts/40-classify-actions.sh +++ b/docs/how-to/migration-scripts/40-classify-actions.sh @@ -165,7 +165,7 @@ if [[ -f "$LOGS_DIR/purgatory-expired.txt" ]]; then [[ "$repo" =~ ^# ]] && continue [[ -z "$repo" || -z "$npub" ]] && continue PURGATORY["$repo|$npub"]=1 - ((PURGATORY_COUNT++)) + PURGATORY_COUNT=$((PURGATORY_COUNT + 1)) done < "$LOGS_DIR/purgatory-expired.txt" fi log_info "Loaded $PURGATORY_COUNT purgatory entries" @@ -180,7 +180,7 @@ if [[ -f "$LOGS_DIR/parse-failures.txt" ]]; then [[ "$event_id" =~ ^# ]] && continue [[ -z "$repo" || -z "$npub" ]] && continue PARSE_FAIL["$repo|$npub"]=1 - ((PARSE_FAIL_COUNT++)) + PARSE_FAIL_COUNT=$((PARSE_FAIL_COUNT + 1)) done < "$LOGS_DIR/parse-failures.txt" fi log_info "Loaded $PARSE_FAIL_COUNT parse failure entries" -- cgit v1.2.3