diff options
author | Jonathan Bauer | 2021-09-23 11:34:33 +0200 |
---|---|---|
committer | Jonathan Bauer | 2021-09-23 11:34:33 +0200 |
commit | a34c5706716001f645c9d72b307e682bca3b2462 (patch) | |
tree | 9896269cb96fbfaddfc174744087e83c0488c013 | |
parent | [download] manual retry loop instead of --retry (diff) | |
download | slx-tools-a34c5706716001f645c9d72b307e682bca3b2462.tar.gz slx-tools-a34c5706716001f645c9d72b307e682bca3b2462.tar.xz slx-tools-a34c5706716001f645c9d72b307e682bca3b2462.zip |
[download] fix {x..y} not supported in ashv29r1
-rw-r--r-- | modules/download.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/download.inc b/modules/download.inc index 1b5d67c..c1b0912 100644 --- a/modules/download.inc +++ b/modules/download.inc @@ -5,7 +5,7 @@ download() { } download_retry() { - for delay in {1..3} ""; do + for delay in 1 2 3 ""; do if download --retry-max-time 12 "$@"; then return 0 fi |