mirror of
https://github.com/ARMSX2/ARMSX2.git
synced 2026-08-24 16:50:16 -07:00
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>
14 lines
197 B
Bash
Executable File
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
|