Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
alpine-conf
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
18
Issues
18
List
Boards
Labels
Service Desk
Milestones
Merge Requests
3
Merge Requests
3
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
alpine
alpine-conf
Commits
2a97a54f
Commit
2a97a54f
authored
Jun 16, 2015
by
Natanael Copa
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
setup-apkrepos: fix speed test of mirrors
Some mirrors error on double / in path. ref #4365
parent
3c87e9c0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
setup-apkrepos.in
setup-apkrepos.in
+1
-1
No files found.
setup-apkrepos.in
View file @
2a97a54f
...
@@ -48,7 +48,7 @@ find_fastest_mirror() {
...
@@ -48,7 +48,7 @@ find_fastest_mirror() {
local
url
=
local
url
=
for
url
in
$MIRRORS
;
do
for
url
in
$MIRRORS
;
do
local time
=
$(
time_cmd apk update
--quiet
$apk_root_opt
\
local time
=
$(
time_cmd apk update
--quiet
$apk_root_opt
\
--repository
$
url
/edge/main
\
--repository
$
{
url
%/
}
/edge/main
\
--repositories-file
/dev/null
)
--repositories-file
/dev/null
)
if
[
-n
"
$time
"
]
;
then
if
[
-n
"
$time
"
]
;
then
echo
"
$time
$url
"
echo
"
$time
$url
"
...
...
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