diff --git a/tools/pkg-binaries.sh b/tools/pkg-binaries.sh index 7c8ca6bdd6..16941a5579 100755 --- a/tools/pkg-binaries.sh +++ b/tools/pkg-binaries.sh @@ -215,7 +215,9 @@ stale= while read -r p; do file=$(awk -F'\t' -v p="$p" '$1 == p { print $3 }' "$tmp/index") size=$(awk -F'\t' -v p="$p" '$1 == p { print $2 }' "$tmp/index") - echo "$file $size" >> "$tmp/files" + # The manifest was written above, before the first download; writing it + # again here doubled every line (measured 2026-11-23: 564 lines for 282 + # packages on the MacBook). dst=$OUT/All/$file have=$({ wc -c < "$dst"; } 2>/dev/null | tr -d ' ') if [ "${have:-0}" != "$size" ]; then