summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorruki <[email protected]>2019-03-29 23:23:57 +0800
committerruki <[email protected]>2019-03-29 14:23:43 +0800
commite28cf38bc82fa657fb68f8684dfad986e51df208 (patch)
treeb87b74754abb7df40591349c9a63a4a063a59e76
parentd336c74a6c3a911ae7a2d297ef49bf7028a28786 (diff)
fix installing count for package
-rw-r--r--xmake/actions/require/impl/package.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/actions/require/impl/package.lua b/xmake/actions/require/impl/package.lua
index d1cfd9374..f282815fa 100644
--- a/xmake/actions/require/impl/package.lua
+++ b/xmake/actions/require/impl/package.lua
@@ -606,6 +606,7 @@ function _install_packages(packages_install, packages_download)
-- enable parallelize
parallelize = true
+ installing_count = installing_count - 1
end
end
packages_installing[index] = nil
@@ -634,7 +635,6 @@ function _install_packages(packages_install, packages_download)
table.insert(downloading, package:name())
end
end
- installing_count = #installing
-- trace
cprintf("\r${yellow} => ${clear}installing %s .. %s", table.concat(installing, ", "), waitchars[waitindex + 1])