Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
eget
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
etersoft
eget
Commits
72624577
Commit
72624577
authored
Dec 29, 2025
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
eget: use --parallel for curl parallel downloads
parent
b35824d5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
eget
eget
+4
-1
No files found.
eget
View file @
72624577
...
...
@@ -1332,10 +1332,13 @@ url_sget()
url_pget
()
{
#[ -n "$USEOUTPUTDIR" ] || fatal "USEOUTPUTDIR is not set"
# curl needs -O before each URL for parallel downloads
local
args
=
""
local
URL
for
URL
in
"
$@
"
;
do
download_with_mirroring __curl
$CURLFILENAMEOPTIONS
"
$URL
"
args
=
"
$args
$CURLFILENAMEOPTIONS
$URL
"
done
__curl
--
parallel
$args
}
# Download file with mirror fallback (try each URL until success)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment