summaryrefslogtreecommitdiff
path: root/xmake/core/package/package.lua
diff options
context:
space:
mode:
Diffstat (limited to 'xmake/core/package/package.lua')
-rw-r--r--xmake/core/package/package.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/xmake/core/package/package.lua b/xmake/core/package/package.lua
index d1bf52589..463cebebc 100644
--- a/xmake/core/package/package.lua
+++ b/xmake/core/package/package.lua
@@ -870,8 +870,8 @@ function _instance:fetch(opt)
force = opt.force})
-- may be toolset, not single tool
- if not fetchinfo and os.isfile(self:manifest_file()) then
- fetchinfo = {name = self:name(), version = self:version_str(), bindir = self:installdir("bin")}
+ if not fetchinfo then
+ fetchinfo = self:manifest_load()
end
if fetchinfo then
isSys = self._isSys