authorgravatar for thatlemon@gmail.comLemonBoy <thatlemon@gmail.com> 2020-12-04 17:31:27+01:00
committergravatar for thatlemon@gmail.comLemonBoy <thatlemon@gmail.com> 2020-12-04 17:31:27+01:00
log55838bc2910f3f73762ea513536b74af056ed9ec
treec6326103c145577c6764944363b9a3176564f2c0
parent2282eb1be18fd2c76caec12d21fea55d9820d5b5

ci: Use eval to make retry() work for pipelines too


1 files changed, 1 insertions(+), 1 deletions(-)

ci/azure/linux_script+1-1
......@@ -13,7 +13,7 @@ CMD_WAIT_TIME=10s
1313# We give up after retrying CMD_MAX_RETRY times.
1414retry() {
1515 for i in $(seq 1 "$CMD_MAX_RETRY"); do
16 "$@" && return
16 eval "$@" && return
1717 echo "command \"$@\" failed, retrying..."
1818 sleep ${CMD_WAIT_TIME}
1919 done