Add mirror support to download-distfiles.sh

This commit is contained in:
fosslinux 2024-12-27 12:19:55 +11:00
parent f772cbe131
commit 88ea21dfc9
2 changed files with 9 additions and 2 deletions

View file

@ -121,8 +121,6 @@ do_file() {
echo "${uri}: ERROR! Must have tarball name if no http source."
exit 1
fi
# Heuristic: all tarball filenames start with t
suffix="t${tarball#*.t}"
tarball="${dest}/${tarball}"
# Check if tarball already generated + matches checksum