mirror of https://github.com/stenzek/duckstation
CI: Work around Azure Ubuntu mirror issue
parent
5b600602c2
commit
b5f806a830
@ -0,0 +1,13 @@
|
|||||||
|
#!/bin/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
|
Loading…
Reference in New Issue