diff options
author | davidovski <david@davidovski.xyz> | 2022-05-31 14:00:39 +0100 |
---|---|---|
committer | davidovski <david@davidovski.xyz> | 2022-05-31 14:00:39 +0100 |
commit | 9752813e90d663aab55c33d3877886a9013f36db (patch) | |
tree | 5a559b208726062e0cf434c872eef7f699bec7ac /src | |
parent | 9e39c7f1ff0d3bfa092107cbf5621711f11268d4 (diff) |
fixed using wrong checksum when downloading packagesv1.5.2
Diffstat (limited to 'src')
-rw-r--r-- | src/build.sh | 2 | ||||
-rwxr-xr-x | src/get.sh | 4 |
2 files changed, 5 insertions, 1 deletions
diff --git a/src/build.sh b/src/build.sh index 8297f25..c10aedb 100644 --- a/src/build.sh +++ b/src/build.sh @@ -19,7 +19,7 @@ get_buildfiles () { } get_deps () { - for f in $BUILDFILES_DIR/repo/*/$1/*.xibuild; do + for f in $BUILDFILES_DIR/repo/$1/*.xibuild; do sed -rn "s/^.*DEPS=\"(.*)\"/\1/p" $f done } @@ -117,6 +117,9 @@ download_packages () { mkdir -p "$out_dir" for package in $@; do + set -- $(get_package_download_info $package) + checksum=$2 + size=$3 outputs="$outputs ${out_dir}/${checksum}.${package}.xipkg" done fetch_serial $total_download $outputs @@ -255,3 +258,4 @@ fetch_parallel () { done wait_for_download total_download $@ & } + |