mirror of
https://github.com/pomerium/pomerium.git
synced 2025-08-06 10:21:05 +02:00
run download in parallel
This commit is contained in:
parent
e23aa3faa3
commit
e451d6ee67
1 changed files with 4 additions and 2 deletions
|
@ -18,7 +18,7 @@ for _target in darwin-amd64 darwin-arm64 linux-amd64 linux-arm64; do
|
||||||
--location \
|
--location \
|
||||||
--time-cond "$_dir/envoy-$_target" \
|
--time-cond "$_dir/envoy-$_target" \
|
||||||
--output "$_dir/envoy-$_target" \
|
--output "$_dir/envoy-$_target" \
|
||||||
"$_url"
|
"$_url" &
|
||||||
|
|
||||||
curl \
|
curl \
|
||||||
--silent \
|
--silent \
|
||||||
|
@ -27,7 +27,9 @@ for _target in darwin-amd64 darwin-arm64 linux-amd64 linux-arm64; do
|
||||||
--location \
|
--location \
|
||||||
--time-cond "$_dir/envoy-$_target.sha256" \
|
--time-cond "$_dir/envoy-$_target.sha256" \
|
||||||
--output "$_dir/envoy-$_target.sha256" \
|
--output "$_dir/envoy-$_target.sha256" \
|
||||||
"$_url.sha256"
|
"$_url.sha256" &
|
||||||
|
|
||||||
echo "$_envoy_version" >"$_dir/envoy-$_target.version"
|
echo "$_envoy_version" >"$_dir/envoy-$_target.version"
|
||||||
done
|
done
|
||||||
|
|
||||||
|
wait
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue