diff options
| author | ruki <[email protected]> | 2022-03-17 00:16:53 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2022-03-17 00:16:53 +0800 |
| commit | ecf66aac5bed14dcb5aff3885c8d7eac12dbad34 (patch) | |
| tree | 692d54cb8a40b5d3fce39de4a890cb59ba4b1931 | |
| parent | f9eef2e8629b4c304d4ee668d932b746efe95491 (diff) | |
update fetch package
| -rw-r--r-- | xmake/core/package/package.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xmake/core/package/package.lua b/xmake/core/package/package.lua index b77b24aeb..239bbb928 100644 --- a/xmake/core/package/package.lua +++ b/xmake/core/package/package.lua @@ -1378,7 +1378,7 @@ end -- fetch the local package info -- --- @param opt the fetch option, e.g. {force = true, external = false} +-- @param opt the fetch option, e.g. {force = true, external = false, system = true} -- -- @return {packageinfo}, fetchfrom (e.g. xmake/system) -- @@ -1389,7 +1389,7 @@ function _instance:fetch(opt) -- attempt to get it from cache local fetchinfo = self._FETCHINFO - if not opt.force and opt.external == nil and fetchinfo then + if not opt.force and opt.external == nil and opt.system == nil and fetchinfo then return fetchinfo end |
