3
0
Fork 0
forked from mirrors/nixpkgs

maintainers/scripts/fetch-kde-qt.sh: fix handling of fallback file urls

This commit is contained in:
Nick Cao 2023-03-16 20:58:56 +08:00
parent ae65ff26ac
commit 3c86f2eb23
No known key found for this signature in database

View file

@ -127,8 +127,7 @@ echo "$urllist" | xargs wget $wgetargs -nH -r -c --no-parent && {
# TODO fetch only missing tar.xz files # TODO fetch only missing tar.xz files
echo "fetching $filecount tar.xz files ..." echo "fetching $filecount tar.xz files ..."
urllist="$(echo "$filelist" | while read file; do echo "$BASE_URL/$file"; done)" echo "$filelist" | xargs wget $wgetargs -nH -r -c --no-parent
echo "$urllist" | xargs wget $wgetargs -nH -r -c --no-parent
echo "generating sha256 files ..." echo "generating sha256 files ..."
find . -type f -name '*.tar.xz' | while read src; do find . -type f -name '*.tar.xz' | while read src; do