index : builder | |
Archlinux32 build system | gitolite user |
summaryrefslogtreecommitdiff |
-rwxr-xr-x | bin/check-mirrors | 3 |
diff --git a/bin/check-mirrors b/bin/check-mirrors index 5f9ba22..d0cb2cd 100755 --- a/bin/check-mirrors +++ b/bin/check-mirrors @@ -144,8 +144,9 @@ elif [ $# -eq 1 ]; then curl -s "${ip_flag}" "${url}archisos/" ) || has_isos=0 for suffix in 'i686' 'dual'; do + # shellcheck disable=SC2059 if ! printf '%s\n' "${cnt}" | \ - grep -qF "$(date '+archlinux-%Y.%m.01-'"${suffix}"'.iso')"; then + grep -qF "$(printf "$(date '+archlinux-%Y.%m.%%02d-'"${suffix}"'.iso\n')" $(seq 31))" -; then has_isos=0 break fi |