diff options
| author | ruki <[email protected]> | 2019-03-12 23:49:16 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2019-03-12 16:55:36 +0800 |
| commit | 1d6221db0af6598c74c5cbbbd37c356585029048 (patch) | |
| tree | d51fca8358893f9628970cfcb4919d7a1df62958 | |
| parent | e763b2e433cee08eaa26ea00cd2af82bfd050a04 (diff) | |
fix fetch package
| -rw-r--r-- | xmake/core/package/package.lua | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/xmake/core/package/package.lua b/xmake/core/package/package.lua index e9c07db69..835928041 100644 --- a/xmake/core/package/package.lua +++ b/xmake/core/package/package.lua @@ -557,7 +557,7 @@ function _instance:fetch(opt) -- fetch binary tool? fetchinfo = nil - local isSys = false + local isSys = nil if self:kind() == "binary" then -- import find_tool @@ -606,7 +606,9 @@ function _instance:fetch(opt) self._FETCHINFO = fetchinfo -- mark as system package? - self._isSys = isSys + if isSys ~= nil then + self._isSys = isSys + end -- ok return fetchinfo |
