Files
Brian DegenhardtandClaude Opus 4.8 10cee0abe8 CI/Linux: restore missing tools/retry.sh
The monorepo consolidation dropped the whole tools/ directory, but
linux_build_qt.yml's 'Install Packages' step and scripts/linux/appimage-qt.sh
still call tools/retry.sh — so the blocking Linux arm64 job failed at
'Install Packages' in ~29s (before any compile). Restore the script
byte-for-byte from history (blob 453d64f, exec bit set).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-07-12 13:34:37 -07:00

14 lines
197 B
Bash
Executable File

#!/usr/bin/env bash
RETRIES=10
for i in $(seq 1 "$RETRIES"); do
"$@" && break
if [ "$i" == "$RETRIES" ]; then
echo "Command \"$@\" failed after ${RETRIES} retries."
exit 1
fi
done
exit 0