diff options
| author | ruki <[email protected]> | 2018-09-21 00:49:50 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2018-09-20 22:59:06 +0800 |
| commit | c0427ff121f8676d9ba59256835fe73933601e06 (patch) | |
| tree | 0dc3428ea35edb1c386df122890bdaf0c148b3d5 | |
| parent | 057a81d3365f6c706bb15c215f5ac6a860a29ce9 (diff) | |
improve to sort package urls
| -rw-r--r-- | xmake/actions/require/package.lua | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/xmake/actions/require/package.lua b/xmake/actions/require/package.lua index af4f0b553..1b8b943f7 100644 --- a/xmake/actions/require/package.lua +++ b/xmake/actions/require/package.lua @@ -409,9 +409,6 @@ function load_packages(requires, opt) -- laod all required packages recursively local packages = _load_packages(requires, opt) - -- sort package urls - _sort_packages_urls(packages) - -- select packages version _select_packages_version(packages) @@ -470,6 +467,9 @@ function install_packages(requires, opt) return end + -- sort package urls + _sort_packages_urls(packages_download) + -- download remote packages local waitindex = 0 local waitchars = {'\\', '|', '/', '-'} |
