summaryrefslogtreecommitdiff
path: root/xmake/core/package/package.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2020-11-21 22:07:28 +0800
committerruki <[email protected]>2020-11-21 22:07:28 +0800
commit1eb2ac7dc458eca00f72173e3ec4a971e3edc790 (patch)
tree2516077acc5b2e6a4608d9916f47f9dc2afa91a9 /xmake/core/package/package.lua
parent287d1e2ca2bd376d488f91d58dd36f45d2a3cf6a (diff)
fix external packages
Diffstat (limited to 'xmake/core/package/package.lua')
-rw-r--r--xmake/core/package/package.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/core/package/package.lua b/xmake/core/package/package.lua
index 4361cb29d..12732b613 100644
--- a/xmake/core/package/package.lua
+++ b/xmake/core/package/package.lua
@@ -859,7 +859,7 @@ function _instance:fetch(opt)
-- attempt to get it from cache
local fetchinfo = self._FETCHINFO
- if not opt.force and fetchinfo then
+ if not opt.force and opt.external == nil and fetchinfo then
return fetchinfo
end